// ************************************************************************** // * This file is part of the FreeFileSync project. It is distributed under * // * GNU General Public License: http://www.gnu.org/licenses/gpl.html * // * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved * // ************************************************************************** #ifndef REALTIMESYNCAPP_H #define REALTIMESYNCAPP_H #include class Application : public wxApp { public: virtual bool OnInit(); virtual int OnRun(); virtual bool OnExceptionInMainLoop() { throw; } //just re-throw and avoid display of additional messagebox: it will be caught in OnRun() private: void onEnterEventLoop(wxEvent& event); //virtual wxLayoutDirection GetLayoutDirection() const { return wxLayout_LeftToRight; } }; #endif // REALTIMESYNCAPP_H