old-hiro/qt/application.hpp
2016-05-15 12:45:15 +02:00

21 lines
369 B
C++

#if defined(Hiro_Application)
namespace hiro {
struct pApplication {
static auto run() -> void;
static auto pendingEvents() -> bool;
static auto processEvents() -> void;
static auto quit() -> void;
static auto initialize() -> void;
static auto syncX() -> void;
static XlibDisplay* display;
};
static QApplication* qtApplication = nullptr;
}
#endif