Window's subsystem is now initialized by NzUtility

Optimized Image
This commit is contained in:
Lynix
2012-05-25 12:23:04 +02:00
parent f55cf96713
commit 7659fdf460
7 changed files with 64 additions and 54 deletions

View File

@@ -24,10 +24,12 @@
#include <Nazara/Core/ThreadCondition.hpp>
#endif
class NzUtility;
class NzWindowImpl;
class NAZARA_API NzWindow : NzNonCopyable
{
friend class NzUtility;
friend class NzWindowImpl;
public:
@@ -99,6 +101,9 @@ class NAZARA_API NzWindow : NzNonCopyable
private:
void PushEvent(const NzEvent& event);
static bool Initialize();
static void Uninitialize();
std::queue<NzEvent> m_events;
#if NAZARA_UTILITY_THREADED_WINDOW
NzMutex m_eventMutex;