TTElib
Twitchy Thumbs Entertainment library
Classes | Functions
TTE::LocalStorage Namespace Reference

Classes

class  LoadInterface
 
class  SaveInterface
 

Functions

bool FileWrite (const char *path, const void *data, size_t dataSize)
 
size_t FileRead (const char *path, void *data, size_t dataSize)
 
bool FileRead (const char *path, TTE_fileBuffer &fileBuffer)
 
bool FileDelete (const char *path)
 
bool FileExists (const char *path)
 
size_t GetFileSize (const char *path)
 
bool GetQuota (int *available, int *total=NULL)
 
bool Load (LoadInterface *interf=NULL)
 
bool LoadSync ()
 
bool Save (SaveInterface *interf=NULL)
 

Function Documentation

bool TTE::LocalStorage::FileDelete ( const char *  path)
bool TTE::LocalStorage::FileExists ( const char *  path)
size_t TTE::LocalStorage::FileRead ( const char *  path,
void *  data,
size_t  dataSize 
)
bool TTE::LocalStorage::FileRead ( const char *  path,
TTE_fileBuffer fileBuffer 
)
bool TTE::LocalStorage::FileWrite ( const char *  path,
const void *  data,
size_t  dataSize 
)
size_t TTE::LocalStorage::GetFileSize ( const char *  path)
bool TTE::LocalStorage::GetQuota ( int *  available,
int *  total = NULL 
)
bool TTE::LocalStorage::Load ( LoadInterface *  interf = NULL)
bool TTE::LocalStorage::LoadSync ( )
bool TTE::LocalStorage::Save ( SaveInterface *  interf = NULL)