From 665ab7da49c70e485fe5bda8c5e1905c63352da2 Mon Sep 17 00:00:00 2001 From: JeffRuLz Date: Sun, 9 Jun 2019 13:44:37 -0500 Subject: [PATCH] Delete storage.h --- src/storage.h | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 src/storage.h 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