Added File::Open(path, mode)

Former-commit-id: 7bd80f04e5f902e9752b1f5091ac55cdf2bc432a
This commit is contained in:
Lynix
2014-04-20 13:13:49 +02:00
parent e16e3658f1
commit fc970c503a
2 changed files with 12 additions and 2 deletions

View File

@@ -78,6 +78,7 @@ class NAZARA_API NzFile : public NzHashable, public NzInputStream, NzNonCopyable
bool IsOpen() const;
bool Open(unsigned long openMode = Current);
bool Open(const NzString& filePath, unsigned long openMode = Current);
std::size_t Read(void* buffer, std::size_t size);
std::size_t Read(void* buffer, std::size_t typeSize, unsigned int count);