summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-02-10 11:14:50 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-02-10 11:14:50 (GMT)
commit4d0c1d3b8a40cb74cfb30ed27a294afaa6ced56f (patch)
tree63ce3df61e88f27ed183d373e3496d8f56af7fb1 /Swift/Controllers/ChatController.h
parent936f7ff9b80aca95040301a4b3cfcd2a248e3334 (diff)
downloadswift-contrib-4d0c1d3b8a40cb74cfb30ed27a294afaa6ced56f.zip
swift-contrib-4d0c1d3b8a40cb74cfb30ed27a294afaa6ced56f.tar.bz2
Move the Chat stuff in Controllers into Chat folder.
It was starting to get a bit unwieldly in Controllers/
Diffstat (limited to 'Swift/Controllers/ChatController.h')
-rw-r--r--Swift/Controllers/ChatController.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/Swift/Controllers/ChatController.h b/Swift/Controllers/ChatController.h
deleted file mode 100644
index ea844ad..0000000
--- a/Swift/Controllers/ChatController.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef SWIFTEN_ChatController_H
-#define SWIFTEN_ChatController_H
-
-#include "Swift/Controllers/ChatControllerBase.h"
-
-namespace Swift {
- class AvatarManager;
- class NickResolver;
- class ChatController : public ChatControllerBase {
- public:
- ChatController(const JID& self, StanzaChannel* stanzaChannel, IQRouter* iqRouter, ChatWindowFactory* chatWindowFactory, const JID &contact, NickResolver* nickResolver, PresenceOracle* presenceOracle, AvatarManager*);
-
- private:
- void handlePresenceChange(boost::shared_ptr<Presence> newPresence, boost::shared_ptr<Presence> previousPresence);
- String getStatusChangeString(boost::shared_ptr<Presence> presence);
- bool isIncomingMessageFromMe(boost::shared_ptr<Message> message);
- void postSendMessage(const String &body);
- void preHandleIncomingMessage(boost::shared_ptr<Message> message);
- String senderDisplayNameFromMessage(const JID& from);
-
- private:
- NickResolver* nickResolver_;
- JID contact_;
- };
-}
-#endif
-