diff options
Diffstat (limited to 'Swift/Controllers/UIEvents')
-rw-r--r-- | Swift/Controllers/UIEvents/JoinMUCUIEvent.h | 19 | ||||
-rw-r--r-- | Swift/Controllers/UIEvents/RequestChatUIEvent.h | 17 |
2 files changed, 36 insertions, 0 deletions
diff --git a/Swift/Controllers/UIEvents/JoinMUCUIEvent.h b/Swift/Controllers/UIEvents/JoinMUCUIEvent.h new file mode 100644 index 0000000..3f31abb --- /dev/null +++ b/Swift/Controllers/UIEvents/JoinMUCUIEvent.h @@ -0,0 +1,19 @@ +//Not used yet. + +#pragma once + +#include "Swiften/Base/String.h" + +#include "Swift/Controllers/UIEvents/UIEvent.h" + +namespace Swift { + class JoinMUCUIEvent : public UIEvent { + public: + JoinMUCUIEvent(const JID& jid, const String& contact) : jid_(jid), contact_(contact) {}; + String getContact() {return contact_;}; + JID getJID() {return jid_;}; + private: + String contact_; + JID jid_; + }; +} 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_; + }; +} |