summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSwift.h')
-rw-r--r--Swift/QtUI/QtSwift.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/Swift/QtUI/QtSwift.h b/Swift/QtUI/QtSwift.h
index 37dd4ce..567af32 100644
--- a/Swift/QtUI/QtSwift.h
+++ b/Swift/QtUI/QtSwift.h
@@ -42,22 +42,23 @@ namespace Swift {
static po::options_description getOptionsDescription();
~QtSwift();
private:
- MainController *mainController_;
+ std::vector<MainController*> mainControllers_;
QtChatWindowFactory *chatWindowFactory_;
- QtChatListWindowFactory *chatListWindowFactory_;
- QtMainWindowFactory *rosterWindowFactory_;
- QtLoginWindowFactory *loginWindowFactory_;
- QtXMLConsoleWidgetFactory* xmlConsoleWidgetFactory_;
+ std::vector<QtMainWindowFactory*> rosterWindowFactories_;
+ std::vector<QtLoginWindowFactory*> loginWindowFactories_;
+ std::vector<QtXMLConsoleWidgetFactory*> xmlConsoleWidgetFactories_;
+ std::vector<QtEventWindowFactory*> eventWindowFactories_;
+ std::vector<QtSystemTray*> systemTrays_;
+ std::vector<QtChatListWindowFactory*> chatListWindowFactories_;
+ std::vector<QtMUCSearchWindowFactory*> mucSearchWindowFactories_;
QtEventLoop clientMainThreadCaller_;
QtSettingsProvider *settings_;
- QtSystemTray* systemTray_;
QSplitter* splitter_;
QtSoundPlayer* soundPlayer_;
QtChatTabs* tabs_;
- QtEventWindowFactory* eventWindowFactory_;
Application* application_;
AutoUpdater* autoUpdater_;
- QtMUCSearchWindowFactory* mucSearchWindowFactory_;
+
};
}