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/UnitTest/MockChatWindow.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/UnitTest/MockChatWindow.h')
| -rw-r--r-- | Swift/Controllers/UnitTest/MockChatWindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/UnitTest/MockChatWindow.h b/Swift/Controllers/UnitTest/MockChatWindow.h index e0e18a0..dbfef3e 100644 --- a/Swift/Controllers/UnitTest/MockChatWindow.h +++ b/Swift/Controllers/UnitTest/MockChatWindow.h @@ -48,18 +48,19 @@ namespace Swift { virtual void setAlert(const std::string& /*alertText*/, const std::string& /*buttonText*/) {}; virtual void cancelAlert() {}; virtual void setCorrectionEnabled(Tristate /*enabled*/) {} void setAvailableOccupantActions(const std::vector<OccupantAction>&/* actions*/) {} void setSubject(const std::string& /*subject*/) {} virtual void showRoomConfigurationForm(Form::ref) {} virtual void addMUCInvitation(const std::string& /*senderName*/, const JID& /*jid*/, const std::string& /*reason*/, const std::string& /*password*/, bool = true) {}; virtual void setAffiliations(MUCOccupant::Affiliation, const std::vector<JID>&) {} virtual void setAvailableRoomActions(const std::vector<RoomAction> &) {}; + virtual InviteToChatWindow* createInviteToChatWindow() {return NULL;} std::string name_; std::string lastMessageBody_; std::vector<SecurityLabelsCatalog::Item> labels_; bool labelsEnabled_; SecurityLabelsCatalog::Item label_; }; } |
Swift