Core: Remove NonCopyable

Former-commit-id: f8c6d10ad0b1abb4a32e3c867b7f24fd4bde68a4
This commit is contained in:
Lynix
2015-09-24 00:37:21 +02:00
parent b16abf0d09
commit 2fd3872099
39 changed files with 205 additions and 112 deletions

View File

@@ -10,7 +10,6 @@
#define NAZARA_WINDOWIMPL_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Core/NonCopyable.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Core/Thread.hpp>
#include <Nazara/Math/Vector2.hpp>
@@ -29,10 +28,12 @@ class NzWindow;
#undef IsMinimized // Conflit avec la méthode du même nom
class NzWindowImpl : NzNonCopyable
class NzWindowImpl
{
public:
NzWindowImpl(NzWindow* parent);
NzWindowImpl(const NzWindowImpl&) = delete;
NzWindowImpl(NzWindowImpl&&) = delete; ///TODO?
~NzWindowImpl() = default;
bool Create(const NzVideoMode& mode, const NzString& title, nzUInt32 style);
@@ -73,6 +74,9 @@ class NzWindowImpl : NzNonCopyable
void SetTitle(const NzString& title);
void SetVisible(bool visible);
NzWindowImpl& operator=(const NzWindowImpl&) = delete;
NzWindowImpl& operator=(NzWindowImpl&&) = delete; ///TODO?
static bool Initialize();
static void Uninitialize();