summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piekos <mateuszpiekos@gmail.com>2012-03-31 16:34:53 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-09 09:15:05 (GMT)
commit1e61cace31a3395f5470a03c3bcf2b7f32d79d03 (patch)
tree972f42651900908a2a33bf34cf142fe573d5a3d4 /Swift/Controllers/UnitTest
parent736aae33a0af7bff42f73a323edb76775b2c39a9 (diff)
downloadswift-contrib-1e61cace31a3395f5470a03c3bcf2b7f32d79d03.zip
swift-contrib-1e61cace31a3395f5470a03c3bcf2b7f32d79d03.tar.bz2
Made MUC context options role-aware
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/Controllers/UnitTest')
-rw-r--r--Swift/Controllers/UnitTest/MockChatWindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/UnitTest/MockChatWindow.h b/Swift/Controllers/UnitTest/MockChatWindow.h
index ce012c6..dab1e90 100644
--- a/Swift/Controllers/UnitTest/MockChatWindow.h
+++ b/Swift/Controllers/UnitTest/MockChatWindow.h
@@ -52,6 +52,7 @@ namespace Swift {
virtual void showRoomConfigurationForm(Form::ref) {}
virtual void addMUCInvitation(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> &) {};
std::string name_;
std::string lastMessageBody_;