/** \file * Game Develop * 2008-2012 Florian Rival (Florian.Rival@gmail.com) */ #ifndef GAME_DEVELOP_EDITORAPP_H #define GAME_DEVELOP_EDITORAPP_H #include #include #include #include "GDL/Game.h" #include "Game_Develop_EditorMain.h" /** * Class managing the application, e.g. its initialization, creation of the main window... */ class Game_Develop_EditorApp : public wxApp { public: virtual bool OnInit(); virtual int OnExit(); #ifndef DEBUG virtual void OnUnhandledException(); #endif virtual bool OnExceptionInMainLoop(); virtual void OnKeyPressed(wxKeyEvent& event) { if (mainEditor) mainEditor->OnKeyDown(event);}; Game_Develop_EditorFrame * mainEditor; wxSingleInstanceChecker * singleInstanceChecker; }; #endif // GAME_DEVELOP_EDITORAPP_H