|
Last change
on this file since d97af9 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:
472 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 | typedef void (*MenuMaker)(Menu*,MoleculeListClass*, config*, periodentafel*);
|
|---|
| 28 |
|
|---|
| 29 | struct menuPopulaters{
|
|---|
| 30 | MenuMaker MakeEditMoleculesMenu;
|
|---|
| 31 | };
|
|---|
| 32 |
|
|---|
| 33 | #endif /* MAINWINDOW_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.