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