Core: Remove NonCopyable
Former-commit-id: f8c6d10ad0b1abb4a32e3c867b7f24fd4bde68a4
This commit is contained in:
@@ -8,16 +8,17 @@
|
||||
#define NAZARA_DIRECTORYIMPL_HPP
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Core/NonCopyable.hpp>
|
||||
#include <windows.h>
|
||||
|
||||
class NzDirectory;
|
||||
class NzString;
|
||||
|
||||
class NzDirectoryImpl : NzNonCopyable
|
||||
class NzDirectoryImpl
|
||||
{
|
||||
public:
|
||||
NzDirectoryImpl(const NzDirectory* parent);
|
||||
NzDirectoryImpl(const NzDirectoryImpl&) = delete;
|
||||
NzDirectoryImpl(NzDirectoryImpl&&) = delete; ///TODO
|
||||
~NzDirectoryImpl() = default;
|
||||
|
||||
void Close();
|
||||
@@ -31,6 +32,9 @@ class NzDirectoryImpl : NzNonCopyable
|
||||
|
||||
bool Open(const NzString& dirPath);
|
||||
|
||||
NzDirectoryImpl& operator=(const NzDirectoryImpl&) = delete;
|
||||
NzDirectoryImpl& operator=(NzDirectoryImpl&&) = delete; ///TODO
|
||||
|
||||
static bool Create(const NzString& dirPath);
|
||||
static bool Exists(const NzString& dirPath);
|
||||
static NzString GetCurrent();
|
||||
|
||||
Reference in New Issue
Block a user