diff options
Diffstat (limited to 'Swift/QtUI/QtMainWindowFactory.cpp')
-rw-r--r-- | Swift/QtUI/QtMainWindowFactory.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Swift/QtUI/QtMainWindowFactory.cpp b/Swift/QtUI/QtMainWindowFactory.cpp deleted file mode 100644 index 8833e03..0000000 --- a/Swift/QtUI/QtMainWindowFactory.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2010 Kevin Smith - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. - */ - -#include "QtMainWindowFactory.h" -#include "QtMainWindow.h" - -namespace Swift { - -QtMainWindowFactory::QtMainWindowFactory(QtSettingsProvider* settings) { - settings_ = settings; - lastWindow_ = NULL; -} - -MainWindow* QtMainWindowFactory::createMainWindow(UIEventStream* eventStream) { - lastWindow_ = new QtMainWindow(settings_, eventStream); - return lastWindow_; -} - -MainWindow* QtMainWindowFactory::getLastCreatedWindow() { - assert(lastWindow_); - return lastWindow_;; -} - -} |