mirror of https://github.com/bsnes-emu/bsnes.git
31 lines
582 B
C++
Executable File
31 lines
582 B
C++
Executable File
#if defined(Hiro_Application)
|
|
|
|
namespace hiro {
|
|
|
|
struct pApplication {
|
|
static auto modal() -> bool;
|
|
static auto run() -> void;
|
|
static auto pendingEvents() -> bool;
|
|
static auto processEvents() -> void;
|
|
static auto quit() -> void;
|
|
static auto setScreenSaver(bool screenSaver) -> void;
|
|
|
|
static auto initialize() -> void;
|
|
|
|
struct State {
|
|
vector<pWindow*> windows;
|
|
|
|
#if defined(DISPLAY_XORG)
|
|
XlibDisplay* display = nullptr;
|
|
XlibWindow screenSaverWindow = 0;
|
|
bool screenSaverXDG = false;
|
|
#endif
|
|
};
|
|
|
|
static auto state() -> State&;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|