diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-05-31 17:27:48 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-05-31 17:30:34 (GMT) |
commit | 6aeb44a905b0c1955ea3afe4ea2025370544e699 (patch) | |
tree | f5d99af0cd87d628263643dc2aa98353d3d3b78d /Swift/Controllers/UIInterfaces/InviteToChatWindow.h | |
parent | 59f1bfcf315a77834ddbce20cc05892d211ab55c (diff) | |
download | swift-contrib-6aeb44a905b0c1955ea3afe4ea2025370544e699.zip swift-contrib-6aeb44a905b0c1955ea3afe4ea2025370544e699.tar.bz2 |
Very poor prototype of a MUC invite dialog
Diffstat (limited to 'Swift/Controllers/UIInterfaces/InviteToChatWindow.h')
-rw-r--r-- | Swift/Controllers/UIInterfaces/InviteToChatWindow.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Swift/Controllers/UIInterfaces/InviteToChatWindow.h b/Swift/Controllers/UIInterfaces/InviteToChatWindow.h new file mode 100644 index 0000000..f34a485 --- /dev/null +++ b/Swift/Controllers/UIInterfaces/InviteToChatWindow.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2012 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include <vector> + +#include <string> +#include <Swiften/Base/boost_bsignals.h> +#include <Swiften/JID/JID.h> + +namespace Swift { + class InviteToChatWindow { + public: + virtual ~InviteToChatWindow() {}; + + virtual std::string getReason() const = 0; + + virtual std::vector<JID> getJIDs() const = 0; + + boost::signal<void ()> onCompleted; + boost::signal<void ()> onDismissed; + }; +} + |