blob: 2edef90c3201aedaffcce46b3a26e7b76ef3b4c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// **************************************************************************
// * 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 <wx/app.h>
class Application : public wxApp
{
public:
virtual bool OnInit();
virtual int OnExit();
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
|