Last change
on this file since 25e17e9 was 78b9d9, checked in by Tillmann Crueger <crueger@…>, 15 years ago |
Improved Doxygen documentation
|
-
Property mode
set to
100644
|
File size:
830 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * Window.hpp
|
---|
3 | *
|
---|
4 | * Created on: Jan 7, 2010
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef MAINWINDOW_HPP_
|
---|
9 | #define MAINWINDOW_HPP_
|
---|
10 |
|
---|
11 | class MoleculeListClass;
|
---|
12 | class config;
|
---|
13 | class periodentafel;
|
---|
14 |
|
---|
15 | class Menu;
|
---|
16 |
|
---|
17 | class MainWindow
|
---|
18 | {
|
---|
19 | public:
|
---|
20 | MainWindow();
|
---|
21 | virtual ~MainWindow();
|
---|
22 |
|
---|
23 | virtual void display()=0;
|
---|
24 |
|
---|
25 | };
|
---|
26 |
|
---|
27 | /**
|
---|
28 | * The type of menuPopulators
|
---|
29 | */
|
---|
30 | typedef void (*MenuMaker)(Menu*,MoleculeListClass*, config*, periodentafel*);
|
---|
31 |
|
---|
32 | /**
|
---|
33 | * This contains all Functions that are used to create the menus.
|
---|
34 | * Needs a specific funtion for each menu. All populators will be called
|
---|
35 | * by the UIFactory upon creation of the main menu. Thus the actuall construction
|
---|
36 | * of the Menus can be kept independent of the concrete type of UI that is being
|
---|
37 | * built.
|
---|
38 | */
|
---|
39 | struct menuPopulaters{
|
---|
40 | MenuMaker MakeEditMoleculesMenu;
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif /* MAINWINDOW_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.