summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-01-17 00:17:11 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-01-17 00:20:41 (GMT)
commited8990c5ee4f54d63e88b6bad28356d0c032a8c3 (patch)
treeac0ca6f18e4b01c76471d0f4660f8e111bc4fdac /Swift/Controllers/ChatWindow.h
parent9ece5e827fa308b36f18884487d34e0073870496 (diff)
downloadswift-contrib-ed8990c5ee4f54d63e88b6bad28356d0c032a8c3.zip
swift-contrib-ed8990c5ee4f54d63e88b6bad28356d0c032a8c3.tar.bz2
Preparation. for /me.
QtUI's implementation isn't done yet.
Diffstat (limited to 'Swift/Controllers/ChatWindow.h')
-rw-r--r--Swift/Controllers/ChatWindow.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/Swift/Controllers/ChatWindow.h b/Swift/Controllers/ChatWindow.h
deleted file mode 100644
index db1e9e3..0000000
--- a/Swift/Controllers/ChatWindow.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef SWIFTEN_CHATWINDOW_H
-#define SWIFTEN_CHATWINDOW_H
-
-#include <boost/optional.hpp>
-#include <boost/signals.hpp>
-#include <boost/shared_ptr.hpp>
-#include <vector>
-
-#include "Swiften/Base/String.h"
-#include "Swiften/Elements/SecurityLabel.h"
-
-namespace Swift {
- class AvatarManager;
- class TreeWidget;
-
- class ChatWindow {
- public:
- ChatWindow() {}
- virtual ~ChatWindow() {};
-
- virtual void addMessage(const String& message, const String& senderName, bool senderIsSelf, const boost::optional<SecurityLabel>& label, const String& avatarPath) = 0;
- virtual void addSystemMessage(const String& message) = 0;
- virtual void addErrorMessage(const String& message) = 0;
-
- virtual void setName(const String& name) = 0;
- virtual void show() = 0;
- virtual void activate() = 0;
- virtual void setAvailableSecurityLabels(const std::vector<SecurityLabel>& labels) = 0;
- virtual void setSecurityLabelsEnabled(bool enabled) = 0;
- virtual void setUnreadMessageCount(int count) = 0;
- virtual void convertToMUC() = 0;
- virtual TreeWidget *getTreeWidget() = 0;
- virtual void setSecurityLabelsError() = 0;
- virtual SecurityLabel getSelectedSecurityLabel() = 0;
- virtual void setInputEnabled(bool enabled) = 0;
-
- boost::signal<void ()> onClosed;
- boost::signal<void ()> onAllMessagesRead;
- boost::signal<void (const String&)> onSendMessageRequest;
- };
-}
-#endif
-