22 #ifndef UTILS_VIRTFSFUNCS_H
23 #define UTILS_VIRTFSFUNCS_H
75 const uint32_t objSize,
76 const uint32_t objCount);
79 const uint32_t objSize,
80 const uint32_t objCount);
91 std::
string &realDir);
99 const
std::
string &dirName,
108 std::
string filename);
110 const
std::
string &filename);
112 const
std::
string &filename);
126 const
void *const ptr,
130 RWOPSINT (*rwops_size) (SDL_RWops *
const rw);
#define A_DELETE_COPY(func)
std::vector< std::string > StringVect
void(* getDirs)(FsEntry *const entry, std::string dirName, StringVect &names)
int(* seek)(File *const file, const uint64_t pos)
int64_t(* fileLength)(File *const file)
File *(* openWrite)(FsEntry *const entry, const std::string &filename)
bool(* exists)(FsEntry *const entry, std::string filename, std::string dirName)
void(* enumerate)(FsEntry *const entry, std::string dirName, StringVect &names)
int(* rwops_write)(SDL_RWops *const rw, const void *const ptr, const int size, const int num)
File *(* openAppend)(FsEntry *const entry, const std::string &filename)
int64_t(* write)(File *const file, const void *const buffer, const uint32_t objSize, const uint32_t objCount)
File *(* openRead)(FsEntry *const entry, std::string filename)
int(* eof)(File *const file)
int(* close)(File *const file)
int32_t(* rwops_seek)(SDL_RWops *const rw, const int32_t offset, const int whence)
const char *(* loadFile)(FsEntry *const entry, std::string fileName, int &fileSize)
int64_t(* tell)(File *const file)
void(* getFilesWithDir)(FsEntry *const entry, const std::string &dirName, StringVect &names)
int(* rwops_read)(SDL_RWops *const rw, void *const ptr, const int size, const int maxnum)
bool(* getRealDir)(FsEntry *const entry, std::string filename, std::string dirName, std::string &realDir)
void(* getFiles)(FsEntry *const entry, std::string dirName, StringVect &names)
int(* rwops_close)(SDL_RWops *const rw)
int64_t(* read)(File *const file, void *const buffer, const uint32_t objSize, const uint32_t objCount)
bool(* isDirectory)(FsEntry *const entry, std::string dirName, bool &isDirFlag)