diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-03-28 13:25:13 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-03-28 13:25:35 (GMT) |
commit | a59af6c6daa72dd491189335cf2d255a788eb0f6 (patch) | |
tree | a09c9b67e6ba5ea0ac87ab06a0b9836d61571a3e /Swift/Controllers/UIInterfaces | |
parent | 625d6a9f18c2377cdc3180e74b773ce3cbb2dcba (diff) | |
download | swift-a59af6c6daa72dd491189335cf2d255a788eb0f6.zip swift-a59af6c6daa72dd491189335cf2d255a788eb0f6.tar.bz2 |
Chat list in the gui (mostly non-functional).
Diffstat (limited to 'Swift/Controllers/UIInterfaces')
-rw-r--r-- | Swift/Controllers/UIInterfaces/ChatListWindow.h | 13 | ||||
-rw-r--r-- | Swift/Controllers/UIInterfaces/ChatListWindowFactory.h | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Swift/Controllers/UIInterfaces/ChatListWindow.h b/Swift/Controllers/UIInterfaces/ChatListWindow.h new file mode 100644 index 0000000..2883d5c --- /dev/null +++ b/Swift/Controllers/UIInterfaces/ChatListWindow.h @@ -0,0 +1,13 @@ +#pragma once + +#include <boost/shared_ptr.hpp> + +#include "Swiften/MUC/MUCBookmark.h" + +namespace Swift { + class ChatListWindow { + public: + virtual void addMUCBookmark(boost::shared_ptr<MUCBookmark> bookmark) = 0; + virtual void removeMUCBookmark(boost::shared_ptr<MUCBookmark> bookmark) = 0; + }; +} diff --git a/Swift/Controllers/UIInterfaces/ChatListWindowFactory.h b/Swift/Controllers/UIInterfaces/ChatListWindowFactory.h new file mode 100644 index 0000000..05e5a55 --- /dev/null +++ b/Swift/Controllers/UIInterfaces/ChatListWindowFactory.h @@ -0,0 +1,11 @@ +#pragma once + +#include "Swift/Controllers/UIInterfaces/ChatListWindow.h" + +namespace Swift { + class UIEventStream; + class ChatListWindowFactory { + public: + virtual ChatListWindow* createWindow(UIEventStream* uiEventStream) = 0; + }; +} |