summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Controllers/ChatWindow.h')
-rw-r--r--Swiften/Controllers/ChatWindow.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/Swiften/Controllers/ChatWindow.h b/Swiften/Controllers/ChatWindow.h
deleted file mode 100644
index 04d0007..0000000
--- a/Swiften/Controllers/ChatWindow.h
+++ /dev/null
@@ -1,37 +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 TreeWidget;
- class ChatWindow {
- public:
- virtual ~ChatWindow() {};
-
- virtual void addMessage(const String& message, const String& senderName, bool senderIsSelf, const boost::optional<SecurityLabel>& label) = 0;
- virtual void addSystemMessage(const String& message) = 0;
- virtual void addErrorMessage(const String& message) = 0;
-
- virtual void show() = 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;
-
- boost::signal<void ()> onClosed;
- boost::signal<void ()> onAllMessagesRead;
- boost::signal<void (const String&)> onSendMessageRequest;
- };
-}
-#endif
-