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:
502 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() {
|
---|
30 | return new TextWindow();
|
---|
31 | }
|
---|
32 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.