source: molecuilder/src/UIElements/CommandLineUIFactory.cpp@ 07d2cd

Last change on this file since 07d2cd was 495a53, checked in by Frederik Heber <heber@…>, 15 years ago

removed menuPopulaters from MainWindow.

  • menuPopulaters is too specific to TextUIFactory.
  • for CommandLineUIFactory a different structure was needed.
  • the shift of struct menuPopulaters inside of class MainWindow makes it superflous.

Signed-off-by: Frederik Heber <heber@…>

  • Property mode set to 100644
File size: 565 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() {
31 return new CommandLineWindow();
32}
Note: See TracBrowser for help on using the repository browser.