summaryrefslogtreecommitdiff
path: root/RealtimeSync/application.h
blob: 3b9c58e213c7d70cdb87bd121d60415c4144ae16 (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
// **************************************************************************
// * 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 OnRun();
    virtual bool OnExceptionInMainLoop() { throw; } //just re-throw and avoid display of additional messagebox: it will be caught in OnRun()

private:
    void OnStartApplication(wxIdleEvent& event);
    //virtual wxLayoutDirection GetLayoutDirection() const { return wxLayout_LeftToRight; }
};

#endif // REALTIMESYNCAPP_H
bgstack15