summaryrefslogtreecommitdiff
path: root/shared/appMain.h
blob: 130a6e2a6a4778fb8176045d2f474b28b4240db9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef APPMAIN_H_INCLUDED
#define APPMAIN_H_INCLUDED

class wxWindow;

namespace FreeFileSync
{
//just some wrapper around a global variable representing the (logical) main application window
class AppMainWindow
{
public:
    static void setMainWindow(wxWindow* window); //set main window and enable "exit on frame delete"
    static bool mainWindowWasSet();

private:
    static bool mainWndAct;
};
}


#endif // APPMAIN_H_INCLUDED
bgstack15