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 |
|
---|
13 | TextUIFactory::TextUIFactory()
|
---|
14 | {
|
---|
15 | // TODO Auto-generated constructor stub
|
---|
16 |
|
---|
17 | }
|
---|
18 |
|
---|
19 | TextUIFactory::~TextUIFactory()
|
---|
20 | {
|
---|
21 | // TODO Auto-generated destructor stub
|
---|
22 | }
|
---|
23 |
|
---|
24 |
|
---|
25 | Dialog* TextUIFactory::makeDialog() {
|
---|
26 | return new TextDialog();
|
---|
27 | }
|
---|
28 |
|
---|
29 | MainWindow* 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.