summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtChatWindowFactory.h')
-rw-r--r--Swift/QtUI/QtChatWindowFactory.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatWindowFactory.h b/Swift/QtUI/QtChatWindowFactory.h
new file mode 100644
index 0000000..9e5004e
--- /dev/null
+++ b/Swift/QtUI/QtChatWindowFactory.h
@@ -0,0 +1,18 @@
+#ifndef SWIFT_QtChatWindowFactory_H
+#define SWIFT_QtChatWindowFactory_H
+
+#include "Swiften/Controllers/ChatWindowFactory.h"
+#include "Swiften/JID/JID.h"
+
+namespace Swift {
+ class QtTreeWidgetFactory;
+ class QtChatWindowFactory : public ChatWindowFactory {
+ public:
+ QtChatWindowFactory(QtTreeWidgetFactory *treeWidgetFactory);
+ ChatWindow* createChatWindow(const JID &contact);
+ private:
+ QtTreeWidgetFactory *treeWidgetFactory_;
+ };
+}
+
+#endif