diff --git a/src/storage.h b/src/storage.h deleted file mode 100644 index 58cd403..0000000 --- a/src/storage.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef STORAGE_H -#define STORAGE_H - -#include -#include - -#define BACKUP_PATH "/titlebackup/" -#define ROM_PATH "/dsi/" - -#define BYTES_PER_BLOCK (1024*128) - -//Printing -void printBytes(unsigned long long bytes); -void printFileInfo(const char* path); - -//Progress bar -void printProgressBar(int percent); -void clearProgressBar(); - -//Files -bool copyFile(const char* in, char* out); -unsigned long long getFileSize(FILE* f); -unsigned long long getFileSizePath(const char* path); -bool padFile(const char* path, int size); - -//Directories -bool dirExists(const char* path); -//int copyDir(const char* in, char* out); -bool deleteDir(const char* path); -unsigned long long getDirSize(const char* path); - -//Home menu -int getMenuSlots(); -int getMenuSlotsFree(); -#define getMenuSlotsUsed() (getMenuSlots() - getMenuSlotsFree()) - -//SD Card -bool sdIsInserted(); - -unsigned long long getSDCardSize(); -unsigned long long getSDCardFree(); -#define getSDCardUsedSpace() (getSDCardSize() - getSDCardFree()) - -//Internal storage -int getDsiSize(); -int getDsiFree(); -#define getDsiUsed() (getDSIStorageSize() - getDSIStorageFree()) - -#endif \ No newline at end of file