diff options
author | Vlad Voicu <vladvoic@gmail.com> | 2011-05-23 14:53:15 (GMT) |
---|---|---|
committer | Vlad Voicu <vladvoic@gmail.com> | 2011-05-31 18:34:02 (GMT) |
commit | 09131c6d9b3d4253002204b41e731aa8af12fcd3 (patch) | |
tree | a126ee0f493efdf18c258e29c9f4a97189831cf8 /Swift/Controllers/UIEvents | |
parent | 16474cfa1714e4e945ea5744317bcc191929f61f (diff) | |
download | swift-contrib-09131c6d9b3d4253002204b41e731aa8af12fcd3.zip swift-contrib-09131c6d9b3d4253002204b41e731aa8af12fcd3.tar.bz2 |
added controllers for the History Window
Diffstat (limited to 'Swift/Controllers/UIEvents')
-rw-r--r-- | Swift/Controllers/UIEvents/RequestViewHistoryUIEvent.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Swift/Controllers/UIEvents/RequestViewHistoryUIEvent.h b/Swift/Controllers/UIEvents/RequestViewHistoryUIEvent.h new file mode 100644 index 0000000..22ad2d8 --- /dev/null +++ b/Swift/Controllers/UIEvents/RequestViewHistoryUIEvent.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2011 Vlad Voicu + * Licensed under the Simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include <Swiften/JID/JID.h> +#include <Swift/Controllers/UIEvents/UIEvent.h> + +namespace Swift { + class RequestViewHistoryUIEvent : public UIEvent { + public: + typedef boost::shared_ptr <RequestViewHistoryUIEvent> ref; + RequestViewHistoryUIEvent(const JID& jid = NULL) : jid(jid) { + } + + const JID& getJID() const { + return jid; + } + private: + JID jid; + }; +} |