/* * Window.hpp * * Created on: Jan 7, 2010 * Author: crueger */ #ifndef MAINWINDOW_HPP_ #define MAINWINDOW_HPP_ class MoleculeListClass; class config; class periodentafel; class Menu; class MainWindow { public: MainWindow(); virtual ~MainWindow(); virtual void display()=0; }; /** * The type of menuPopulators */ typedef void (*MenuMaker)(Menu*,MoleculeListClass*, config*, periodentafel*); /** * This contains all Functions that are used to create the menus. * Needs a specific funtion for each menu. All populators will be called * by the UIFactory upon creation of the main menu. Thus the actuall construction * of the Menus can be kept independent of the concrete type of UI that is being * built. */ struct menuPopulaters{ MenuMaker MakeEditMoleculesMenu; }; #endif /* MAINWINDOW_HPP_ */