summaryrefslogtreecommitdiff
path: root/shared/app_main.h
blob: bdfb9b0823afc1253f5e8da7149da1db2cfa72f4 (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
26
27
// **************************************************************************
// * 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) 2008-2011 ZenJu (zhnmju123 AT gmx.de)                    *
// **************************************************************************
//
#ifndef APPMAIN_H_INCLUDED
#define APPMAIN_H_INCLUDED

class wxWindow;

namespace ffs3
{
//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 mainWndActive;
};
}


#endif // APPMAIN_H_INCLUDED
bgstack15