Core: Remove NonCopyable
Former-commit-id: f8c6d10ad0b1abb4a32e3c867b7f24fd4bde68a4
This commit is contained in:
@@ -9,17 +9,18 @@
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Core/File.hpp>
|
||||
#include <Nazara/Core/NonCopyable.hpp>
|
||||
#include <ctime>
|
||||
#include <windows.h>
|
||||
|
||||
class NzFile;
|
||||
class NzString;
|
||||
|
||||
class NzFileImpl : NzNonCopyable
|
||||
class NzFileImpl
|
||||
{
|
||||
public:
|
||||
NzFileImpl(const NzFile* parent);
|
||||
NzFileImpl(const NzFileImpl&) = delete;
|
||||
NzFileImpl(NzFileImpl&&) = delete; ///TODO
|
||||
~NzFileImpl() = default;
|
||||
|
||||
void Close();
|
||||
@@ -31,6 +32,9 @@ class NzFileImpl : NzNonCopyable
|
||||
bool SetCursorPos(nzCursorPosition pos, nzInt64 offset);
|
||||
std::size_t Write(const void* buffer, std::size_t size);
|
||||
|
||||
NzFileImpl& operator=(const NzFileImpl&) = delete;
|
||||
NzFileImpl& operator=(NzFileImpl&&) = delete; ///TODO
|
||||
|
||||
static bool Copy(const NzString& sourcePath, const NzString& targetPath);
|
||||
static bool Delete(const NzString& filePath);
|
||||
static bool Exists(const NzString& filePath);
|
||||
|
||||
Reference in New Issue
Block a user