| 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 | * Forward declarations | 
 
 
 
 
 | 27 | */ | 
 
 
 
 
 | 28 |  | 
 
 
 
 
 | 29 | ////@begin forward declarations | 
 
 
 
 
 | 30 | ////@end forward declarations | 
 
 
 
 
 | 31 |  | 
 
 
 
 
 | 32 | /*! | 
 
 
 
 
 | 33 | * Control identifiers | 
 
 
 
 
 | 34 | */ | 
 
 
 
 
 | 35 |  | 
 
 
 
 
 | 36 | ////@begin control identifiers | 
 
 
 
 
 | 37 | ////@end control identifiers | 
 
 
 
 
 | 38 |  | 
 
 
 
 
 | 39 | /*! | 
 
 
 
 
 | 40 | * AEInstallerApp class declaration | 
 
 
 
 
 | 41 | */ | 
 
 
 
 
 | 42 |  | 
 
 
 
 
 | 43 | class AEInstallerApp: public wxApp | 
 
 
 
 
 | 44 | { | 
 
 
 
 
 | 45 | DECLARE_CLASS( AEInstallerApp ) | 
 
 
 
 
 | 46 | DECLARE_EVENT_TABLE() | 
 
 
 
 
 | 47 |  | 
 
 
 
 
 | 48 | public: | 
 
 
 
 
 | 49 | /// Constructor | 
 
 
 
 
 | 50 | AEInstallerApp(); | 
 
 
 
 
 | 51 |  | 
 
 
 
 
 | 52 | void Init(); | 
 
 
 
 
 | 53 |  | 
 
 
 
 
 | 54 | /// Initialises the application | 
 
 
 
 
 | 55 | virtual bool OnInit(); | 
 
 
 
 
 | 56 |  | 
 
 
 
 
 | 57 | /// Called on exit | 
 
 
 
 
 | 58 | virtual int OnExit(); | 
 
 
 
 
 | 59 |  | 
 
 
 
 
 | 60 | ////@begin AEInstallerApp event handler declarations | 
 
 
 
 
 | 61 |  | 
 
 
 
 
 | 62 | ////@end AEInstallerApp event handler declarations | 
 
 
 
 
 | 63 |  | 
 
 
 
 
 | 64 | ////@begin AEInstallerApp member function declarations | 
 
 
 
 
 | 65 |  | 
 
 
 
 
 | 66 | ////@end AEInstallerApp member function declarations | 
 
 
 
 
 | 67 |  | 
 
 
 
 
 | 68 | ////@begin AEInstallerApp member variables | 
 
 
 
 
 | 69 | ////@end AEInstallerApp member variables | 
 
 
 
 
 | 70 | }; | 
 
 
 
 
 | 71 |  | 
 
 
 
 
 | 72 | /*! | 
 
 
 
 
 | 73 | * Application instance declaration | 
 
 
 
 
 | 74 | */ | 
 
 
 
 
 | 75 |  | 
 
 
 
 
 | 76 | ////@begin declare app | 
 
 
 
 
 | 77 | DECLARE_APP(AEInstallerApp) | 
 
 
 
 
 | 78 | ////@end declare app | 
 
 
 
 
 | 79 |  | 
 
 
 
 
 | 80 | #endif | 
 
 
 
 
 | 81 | // _AEINSTALLERAPP_H_ | 
 
 
 
 
 | 82 | int globalizeData(void); | 
 
 
 
 
 | 83 | MainWindow* TheWindow; |