1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#pragma once #include <boost/shared_ptr.hpp> #include <boost/signal.hpp> #include "Swiften/Network/Connection.h" namespace Swift { class ConnectionServer { public: virtual ~ConnectionServer(); boost::signal<void (boost::shared_ptr<Connection>)> onNewConnection; }; }