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