diff options
Diffstat (limited to 'Swift/Controllers/UIEvents/RequestContactEditorUIEvent.h')
-rw-r--r-- | Swift/Controllers/UIEvents/RequestContactEditorUIEvent.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Swift/Controllers/UIEvents/RequestContactEditorUIEvent.h b/Swift/Controllers/UIEvents/RequestContactEditorUIEvent.h new file mode 100644 index 0000000..8d04525 --- /dev/null +++ b/Swift/Controllers/UIEvents/RequestContactEditorUIEvent.h @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2010 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include <Swiften/JID/JID.h> +#include <Swift/Controllers/UIEvents/UIEvent.h> + +namespace Swift { + class RequestContactEditorUIEvent : public UIEvent { + public: + typedef boost::shared_ptr<RequestContactEditorUIEvent> ref; + + RequestContactEditorUIEvent(const JID& jid) : jid(jid) { + } + + const JID& getJID() const { + return jid; + } + + private: + JID jid; + }; +} |