summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-12 14:16:23 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-12 14:16:23 (GMT)
commit9470b2eb602489b290f8df1aaf515712d9ea3dbf (patch)
tree8c222a8a00dc6f6f7d7fd22fd98fa66e5bd003a2 /Swift/Controllers/MainController.h
parenta65372d1a0a85d04329cd91bcf6bdff2de492c80 (diff)
downloadswift-9470b2eb602489b290f8df1aaf515712d9ea3dbf.zip
swift-9470b2eb602489b290f8df1aaf515712d9ea3dbf.tar.bz2
Populate ErrorEvent for server disconnections.
Resolves: #303
Diffstat (limited to 'Swift/Controllers/MainController.h')
-rw-r--r--Swift/Controllers/MainController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.h b/Swift/Controllers/MainController.h
index 0056c21..5ed3641 100644
--- a/Swift/Controllers/MainController.h
+++ b/Swift/Controllers/MainController.h
@@ -23,6 +23,7 @@
#include "Swiften/Elements/Presence.h"
#include "Swiften/Settings/SettingsProvider.h"
#include "Swiften/Elements/CapsInfo.h"
+#include "Swiften/Events/ErrorEvent.h"
#include "Swiften/Roster/XMPPRoster.h"
namespace Swift {
@@ -125,5 +126,6 @@ namespace Swift {
String password_;
String certificateFile_;
ChatListWindowFactory* chatListWindowFactory_;
+ boost::shared_ptr<ErrorEvent> lastDisconnectError_;
};
}