| 1 | ///////////////////////////////////////////////////////////////////////////// | 
 
 
 
 
 | 2 | // Name:        main.h | 
 
 
 
 
 | 3 | // Purpose: | 
 
 
 
 
 | 4 | // Author: | 
 
 
 
 
 | 5 | // Modified by: | 
 
 
 
 
 | 6 | // Created:     07/05/2009 17:23:39 | 
 
 
 
 
 | 7 | // RCS-ID: | 
 
 
 
 
 | 8 | // Copyright: | 
 
 
 
 
 | 9 | // Licence: | 
 
 
 
 
 | 10 | ///////////////////////////////////////////////////////////////////////////// | 
 
 
 
 
 | 11 |  | 
 
 
 
 
 | 12 | #ifndef _AEINSTALLERAPP_H_ | 
 
 
 
 
 | 13 | #define _AEINSTALLERAPP_H_ | 
 
 
 
 
 | 14 |  | 
 
 
 
 
 | 15 |  | 
 
 
 
 
 | 16 | /*! | 
 
 
 
 
 | 17 | * Includes | 
 
 
 
 
 | 18 | */ | 
 
 
 
 
 | 19 |  | 
 
 
 
 
 | 20 | ////@begin includes | 
 
 
 
 
 | 21 | #include "wx/image.h" | 
 
 
 
 
 | 22 | #include "main_window.h" | 
 
 
 
 
 | 23 | ////@end includes | 
 
 
 
 
 | 24 |  | 
 
 
 
 
 | 25 |  | 
 
 
 
 
 | 26 | /*! | 
 
 
 
 
 | 27 | * Forward declarations | 
 
 
 
 
 | 28 | */ | 
 
 
 
 
 | 29 |  | 
 
 
 
 
 | 30 | ////@begin forward declarations | 
 
 
 
 
 | 31 | ////@end forward declarations | 
 
 
 
 
 | 32 |  | 
 
 
 
 
 | 33 | /*! | 
 
 
 
 
 | 34 | * Control identifiers | 
 
 
 
 
 | 35 | */ | 
 
 
 
 
 | 36 |  | 
 
 
 
 
 | 37 | ////@begin control identifiers | 
 
 
 
 
 | 38 | ////@end control identifiers | 
 
 
 
 
 | 39 |  | 
 
 
 
 
 | 40 | /*! | 
 
 
 
 
 | 41 | * AEInstallerApp class declaration | 
 
 
 
 
 | 42 | */ | 
 
 
 
 
 | 43 |  | 
 
 
 
 
 | 44 | class AEInstallerApp: public wxApp | 
 
 
 
 
 | 45 | { | 
 
 
 
 
 | 46 | DECLARE_CLASS( AEInstallerApp ) | 
 
 
 
 
 | 47 | DECLARE_EVENT_TABLE() | 
 
 
 
 
 | 48 |  | 
 
 
 
 
 | 49 | public: | 
 
 
 
 
 | 50 | /// Constructor | 
 
 
 
 
 | 51 | AEInstallerApp(); | 
 
 
 
 
 | 52 |  | 
 
 
 
 
 | 53 | void Init(); | 
 
 
 
 
 | 54 |  | 
 
 
 
 
 | 55 | /// Initialises the application | 
 
 
 
 
 | 56 | virtual bool OnInit(); | 
 
 
 
 
 | 57 |  | 
 
 
 
 
 | 58 | /// Called on exit | 
 
 
 
 
 | 59 | virtual int OnExit(); | 
 
 
 
 
 | 60 |  | 
 
 
 
 
 | 61 | ////@begin AEInstallerApp event handler declarations | 
 
 
 
 
 | 62 |  | 
 
 
 
 
 | 63 | ////@end AEInstallerApp event handler declarations | 
 
 
 
 
 | 64 |  | 
 
 
 
 
 | 65 | ////@begin AEInstallerApp member function declarations | 
 
 
 
 
 | 66 |  | 
 
 
 
 
 | 67 | ////@end AEInstallerApp member function declarations | 
 
 
 
 
 | 68 |  | 
 
 
 
 
 | 69 | ////@begin AEInstallerApp member variables | 
 
 
 
 
 | 70 | ////@end AEInstallerApp member variables | 
 
 
 
 
 | 71 | }; | 
 
 
 
 
 | 72 |  | 
 
 
 
 
 | 73 | /*! | 
 
 
 
 
 | 74 | * Application instance declaration | 
 
 
 
 
 | 75 | */ | 
 
 
 
 
 | 76 |  | 
 
 
 
 
 | 77 | ////@begin declare app | 
 
 
 
 
 | 78 | DECLARE_APP(AEInstallerApp) | 
 
 
 
 
 | 79 | ////@end declare app | 
 
 
 
 
 | 80 |  | 
 
 
 
 
 | 81 | #endif | 
 
 
 
 
 | 82 | // _AEINSTALLERAPP_H_ | 
 
 
 
 
 | 83 | int globalizeData(void); | 
 
 
 
 
 | 84 | MainWindow* TheWindow; |