summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-07-22 17:13:24 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-07-22 17:13:24 (GMT)
commitc3c24fd8fb8f91696b4e38e0f212a35a8e1fe137 (patch)
tree02145bdb8a0f059be43d58c3942c0050ebbae1a9 /Swiftob/Swiftob.h
parent053128df5c36b80c35e8ec5483125305f8fc86ea (diff)
downloadswift-contrib-c3c24fd8fb8f91696b4e38e0f212a35a8e1fe137.zip
swift-contrib-c3c24fd8fb8f91696b4e38e0f212a35a8e1fe137.tar.bz2
Allow nick changing and restart for Swiftob bots
Diffstat (limited to 'Swiftob/Swiftob.h')
-rw-r--r--Swiftob/Swiftob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiftob/Swiftob.h b/Swiftob/Swiftob.h
index ad4e9b8..36091e4 100644
--- a/Swiftob/Swiftob.h
+++ b/Swiftob/Swiftob.h
@@ -32,6 +32,8 @@ class Swiftob {
int exec();
~Swiftob();
private:
+ void init();
+ void handleRestartRequested();
void handleConnected();
void handleDisconnected(const boost::optional<Swift::ClientError>&);
void handleMessageReceived(Swift::Message::ref);
@@ -45,5 +47,6 @@ class Swiftob {
MUCs* mucs_;
bool quitting_;
Users* users_;
+ std::string path_;
Swift::Client* client_;
};