diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-11-28 21:44:26 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-12-24 13:43:44 (GMT) |
commit | f08d7dc30a1242ea5a148377c5593188a8fb1317 (patch) | |
tree | f55fd5175d21c804528c5f531c08880621274e71 /Swift/Controllers/UIEvents/RequestChatUIEvent.h | |
parent | 39209e6b419af417d3db011d7fd29433e88c8b3a (diff) | |
download | swift-contrib-f08d7dc30a1242ea5a148377c5593188a8fb1317.zip swift-contrib-f08d7dc30a1242ea5a148377c5593188a8fb1317.tar.bz2 |
Extract the Chat dialog management from MainController into ChatsManager.
There is a single unit test so far - but that's more than was there before, so I'm pushing. Expect more unit tests shortly.
Resolves: #139
Diffstat (limited to 'Swift/Controllers/UIEvents/RequestChatUIEvent.h')
-rw-r--r-- | Swift/Controllers/UIEvents/RequestChatUIEvent.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Swift/Controllers/UIEvents/RequestChatUIEvent.h b/Swift/Controllers/UIEvents/RequestChatUIEvent.h new file mode 100644 index 0000000..529f498 --- /dev/null +++ b/Swift/Controllers/UIEvents/RequestChatUIEvent.h @@ -0,0 +1,17 @@ +//Not used yet. + +#pragma once + +#include "Swiften/Base/String.h" + +#include "Swift/Controllers/UIEvents/UIEvent.h" + +namespace Swift { + class RequestChatUIEvent : public UIEvent { + public: + RequestChatUIEvent(const String& contact) : contact_(contact) {}; + String getContact() {return contact_;} + private: + String contact_; + }; +} |