source: molecuilder/src/UIElements/TextUIFactory.cpp@ 5bf941

Last change on this file since 5bf941 was d97af9, checked in by Tillmann Crueger <crueger@…>, 16 years ago

Seperated building of mainWindow and contained Menus

  • Moved code to build Menus to builder.cpp
  • Moved WindowGeneration code to constructor
  • Property mode set to 100644
File size: 682 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,MoleculeListClass *molecules, config *configuration, periodentafel *periode, char *ConfigFileName) {
30 return new TextWindow(populaters,molecules,configuration,periode,ConfigFileName);
31}
32
Note: See TracBrowser for help on using the repository browser.