summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-01 23:17:07 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-01 23:17:07 (GMT)
commit188ff36e3fbfdc174ea75babc1deb3aebcf1472b (patch)
treeb8d4f9153acec5b399ece8486c8c9276d8395858 /Slimber/Cocoa/Slimber.h
parentaa3b4c09352cdfb2f999fc6c12faed6339405d03 (diff)
downloadswift-contrib-188ff36e3fbfdc174ea75babc1deb3aebcf1472b.zip
swift-contrib-188ff36e3fbfdc174ea75babc1deb3aebcf1472b.tar.bz2
Report XMPP server errors in Slimber.
Diffstat (limited to 'Slimber/Cocoa/Slimber.h')
-rw-r--r--Slimber/Cocoa/Slimber.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Slimber/Cocoa/Slimber.h b/Slimber/Cocoa/Slimber.h
index b62f9e5..fdce501 100644
--- a/Slimber/Cocoa/Slimber.h
+++ b/Slimber/Cocoa/Slimber.h
@@ -1,6 +1,9 @@
#pragma once
#include <boost/shared_ptr.hpp>
+#include <boost/optional.hpp>
+
+#include "Slimber/ServerError.h"
@class Menulet;
namespace Swift {
@@ -18,6 +21,7 @@ class Slimber {
private:
void handleSelfConnected(bool b);
void handleServicesChanged();
+ void handleServerStopped(boost::optional<Swift::ServerError> error);
private:
boost::shared_ptr<Swift::BonjourQuerier> dnsSDQuerier;