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