2 #include "oxygine-include.h" 16 virtual void release() = 0;
17 virtual unsigned int read(
void* dest,
unsigned int size) = 0;
18 virtual unsigned int write(
const void* src,
unsigned int size) = 0;
19 virtual unsigned int getSize()
const = 0;
20 virtual int seek(
unsigned int offset,
int whence) = 0;
21 virtual unsigned int tell()
const = 0;
40 void setPrefix(
const char* str);
42 bool isExists(
const char* file);
43 bool isExistsHere(
const char* file);
45 status deleteFile(
const char* file);
46 status renameFile(
const char* src,
const char* dest);
47 status makeDirectory(
const char* path);
48 status deleteDirectory(
const char* path);
50 status open(
const char* file,
const char* mode, error_policy ep,
fileHandle*& fh);
51 status read(
const char* file,
file::buffer& bf, error_policy ep);
57 virtual status _open(
const char* file,
const char* mode, error_policy ep,
fileHandle*&) = 0;
58 virtual status _read(
const char* file,
file::buffer&, error_policy ep) = 0;
59 virtual bool _isExists(
const char* file);
60 virtual status _deleteFile(
const char* file) = 0;
61 virtual status _makeDirectory(
const char* path) = 0;
62 virtual status _deleteDirectory(
const char* path) = 0;
63 virtual status _renameFile(
const char* src,
const char* dest) = 0;
68 typedef std::vector<FileSystem*> filesystems;
69 filesystems _filesystems;
Definition: FileSystem.h:12
–oxgl-end–!
Definition: Actor.h:14
Definition: FileSystem.h:27