summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-21 10:07:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-21 10:07:49 (GMT)
commitabd4d8981ebc5ad579102002483f410a5d4d79da (patch)
treeddf347f77653c64d81e8e087f34d1243c6b68d0d /Slimber/Server.h
parentabba8740ba29f05eef23a826e3095214f51bd0a4 (diff)
downloadswift-abd4d8981ebc5ad579102002483f410a5d4d79da.zip
swift-abd4d8981ebc5ad579102002483f410a5d4d79da.tar.bz2
Update the "You are logged in" menu.
Diffstat (limited to 'Slimber/Server.h')
-rw-r--r--Slimber/Server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Slimber/Server.h b/Slimber/Server.h
index 573e3d9..5ce9e31 100644
--- a/Slimber/Server.h
+++ b/Slimber/Server.h
@@ -26,10 +26,13 @@ namespace Swift {
public:
Server(int clientConnectionPort, int linkLocalConnectionPort, boost::shared_ptr<DNSSDService> dnsSDService);
+ boost::signal<void (bool)> onSelfConnected;
+
private:
void handleNewClientConnection(boost::shared_ptr<Connection> c);
void handleNewLinkLocalConnection(boost::shared_ptr<Connection> connection);
void handleServiceRegistered(const DNSSDService::Service& service);
+ void handleSessionStarted();
void handleSessionFinished(boost::shared_ptr<ServerFromClientSession>);
void handleLinkLocalSessionFinished(boost::shared_ptr<Session> session);
void handleLinkLocalElementReceived(boost::shared_ptr<Element> element, boost::shared_ptr<Session> session);