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

Classes

class  DownloadInterface
 
class  UploadInterface
 

Functions

bool FileWrite (const char *path, const void *data, size_t dataSize)
 
size_t FileRead (const char *path, void *data, size_t dataSize)
 
const void * FileReadOnly (const char *path, size_t *dataSize=NULL)
 
bool FileDelete (const char *path)
 
bool FileExists (const char *path)
 
size_t GetFileSize (const char *path)
 
void Reset ()
 
unsigned int GetFileCount ()
 
const char * GetFilePath (unsigned int fileNum)
 
const char * GetFilePathAndSize (unsigned int fileNum, size_t *fileSize)
 
bool GetQuota (int *available, int *total=NULL)
 
bool Download (DownloadInterface *interf=NULL)
 
bool DownloadSync ()
 
bool Upload (UploadInterface *interf=NULL)
 

Function Documentation

bool TTE::RemoteStorage::Download ( DownloadInterface *  interf = NULL)
bool TTE::RemoteStorage::DownloadSync ( )
bool TTE::RemoteStorage::FileDelete ( const char *  path)
bool TTE::RemoteStorage::FileExists ( const char *  path)
size_t TTE::RemoteStorage::FileRead ( const char *  path,
void *  data,
size_t  dataSize 
)
const void* TTE::RemoteStorage::FileReadOnly ( const char *  path,
size_t *  dataSize = NULL 
)
bool TTE::RemoteStorage::FileWrite ( const char *  path,
const void *  data,
size_t  dataSize 
)
unsigned int TTE::RemoteStorage::GetFileCount ( )
const char* TTE::RemoteStorage::GetFilePath ( unsigned int  fileNum)
const char* TTE::RemoteStorage::GetFilePathAndSize ( unsigned int  fileNum,
size_t *  fileSize 
)
size_t TTE::RemoteStorage::GetFileSize ( const char *  path)
bool TTE::RemoteStorage::GetQuota ( int *  available,
int *  total = NULL 
)
void TTE::RemoteStorage::Reset ( )
bool TTE::RemoteStorage::Upload ( UploadInterface *  interf = NULL)