WiiFlow_Lite/source/gc/fileOps.h
fix94.1 b23d86b5bc -added more accurate progress bar for copy
gc game from usb to sd
-made the gc disc installer progress bar more
accurate too ;)
-deleting a gamecube game will now delete all
files found in the directory, more accurate lol
2012-03-05 09:48:13 +00:00

24 lines
653 B
C

#ifdef __cplusplus
extern "C"
{
#endif
#ifndef _FILEOPS
#define _FILEOPS
typedef void (*progress_callback_t)(int status,int total,void *user_data);
bool fsop_GetFileSizeBytes (char *path, size_t *filesize);
u64 fsop_GetFolderBytes (char *source);
u32 fsop_GetFolderKb (char *source);
u32 fsop_GetFreeSpaceKb (char *path);
bool fsop_DirExist (char *path);
bool fsop_CopyFile (char *source, char *target, progress_callback_t spinner, void *spinner_data);
bool fsop_CopyFolder (char *source, char *target, progress_callback_t spinner, void *spinner_data);
void fsop_deleteFolder(char *source);
#endif
#ifdef __cplusplus
}
#endif