source: molecuilder/src/UIElements/TextUIFactory.cpp@ e04838

Last change on this file since e04838 was 536ce2, checked in by Frederik Heber <heber@…>, 15 years ago

...UIFactory::makeMainWindow() now has only a single parameter, namely menuPopulaters.

  • as molecules and periodentafel can be accessed globally from singleton World, there is no need to pass these around anymore.
  • typedef MenuMaker and populateEditMoleculesMenu() equally stripped.
  • Property mode set to 100644
File size: 537 bytes
Line 
1/*
2 * TextUIFactory.cpp
3 *
4 * Created on: Jan 5, 2010
5 * Author: crueger
6 */
7
8#include "UIElements/TextUIFactory.hpp"
9#include "UIElements/TextWindow.hpp"
10#include "UIElements/TextDialog.hpp"
11
12
13TextUIFactory::TextUIFactory()
14{
15 // TODO Auto-generated constructor stub
16
17}
18
19TextUIFactory::~TextUIFactory()
20{
21 // TODO Auto-generated destructor stub
22}
23
24
25Dialog* TextUIFactory::makeDialog() {
26 return new TextDialog();
27}
28
29MainWindow* TextUIFactory::makeMainWindow(menuPopulaters populaters) {
30 return new TextWindow(populaters);
31}
32
Note: See TracBrowser for help on using the repository browser.