source: molecuilder/src/UIElements/CommandLineUIFactory.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: 600 bytes
Line 
1/*
2 * CommandLineUIFactory.cpp
3 *
4 * Created on: May 8, 2010
5 * Author: heber
6 */
7
8
9#include "UIElements/CommandLineUIFactory.hpp"
10#include "UIElements/CommandLineWindow.hpp"
11#include "UIElements/CommandLineDialog.hpp"
12
13
14CommandLineUIFactory::CommandLineUIFactory()
15{
16 // TODO Auto-generated constructor stub
17
18}
19
20CommandLineUIFactory::~CommandLineUIFactory()
21{
22 // TODO Auto-generated destructor stub
23}
24
25
26Dialog* CommandLineUIFactory::makeDialog() {
27 return NULL;
28}
29
30MainWindow* CommandLineUIFactory::makeMainWindow(menuPopulaters populaters) {
31 return new CommandLineWindow(populaters);
32}
Note: See TracBrowser for help on using the repository browser.