Last change
on this file since 2e06c4 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:
416 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * TextUIFactory.h
|
---|
3 | *
|
---|
4 | * Created on: Jan 5, 2010
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef TEXTUIFACTORY_HPP_
|
---|
9 | #define TEXTUIFACTORY_HPP_
|
---|
10 |
|
---|
11 | #include "UIElements/UIFactory.hpp"
|
---|
12 |
|
---|
13 | class TextUIFactory : public UIFactory
|
---|
14 | {
|
---|
15 | friend class UIFactory;
|
---|
16 |
|
---|
17 | public:
|
---|
18 | virtual ~TextUIFactory();
|
---|
19 |
|
---|
20 | virtual Dialog* makeDialog();
|
---|
21 | virtual MainWindow* makeMainWindow();
|
---|
22 |
|
---|
23 | protected:
|
---|
24 | TextUIFactory();
|
---|
25 | };
|
---|
26 |
|
---|
27 | #endif /* TEXTUIFACTORY_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.