73 lines
1.5 KiB
C
73 lines
1.5 KiB
C
#ifndef SETTINGS_H
|
|
#define SETTINGS_H
|
|
|
|
#include <gccore.h>
|
|
#include <dirent.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
#include <fat.h>
|
|
#include <unistd.h>
|
|
#include <ogc/usbstorage.h>
|
|
#include <ntfs.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <wiiuse/wpad.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
|
|
#include <sdcard/wiisd_io.h>
|
|
#include <curl/curl.h>
|
|
#include <grrlib.h>
|
|
#include "FreeMonoBold_ttf.h"
|
|
extern int net_init();
|
|
|
|
|
|
extern char* TempVal;
|
|
typedef struct disks{
|
|
int ntfsc;
|
|
bool sdfat;
|
|
bool usbfat;
|
|
ntfs_md *ntfsv;
|
|
}disks;
|
|
typedef struct dlf{
|
|
FILE* fp;
|
|
char fnam[1000];
|
|
char fnam2[500];
|
|
int fileid;
|
|
int fileindex;
|
|
}dlf;
|
|
void SetRoot(char* rootdir);
|
|
|
|
char* FileNameParse(char* path);
|
|
void DLFhandler(dlf* dl,size_t real);
|
|
void OpenPlaylistFile(char* playlist);
|
|
char* PLTXTDIR();
|
|
char* OpenFile(char* fname);
|
|
char* OpenPlaylistVideoFile(char* playlist,char* video);
|
|
char* OpenPlaylistDescFile(char* playlist,char* video);
|
|
char* OpenDescFile(char* video);
|
|
|
|
FILE* HistoryRead();
|
|
FILE* HistoryAppend();
|
|
int UsingIRFeatures();
|
|
disks* FileSystemDrivers();
|
|
void WriteFile2PL(char* fil,char* type,char* url,char* filename);
|
|
void CreatePL(char* fil);
|
|
char* CreatePL2(char* fil);
|
|
char* OpenVideoFile(char* filename);
|
|
char* ThumbnailFileName(char* filename);
|
|
|
|
int ThumbnailExists(char* id);
|
|
int CreateFolders();
|
|
char* ThumbnailURL(char* id);
|
|
char* ThumbnailURLAlt(char* id,char* res);
|
|
FILE* PlaylistTXT(char* fil);
|
|
char* Temp();
|
|
char* AppConfig();
|
|
void DeleteTemp();
|
|
void SwitchIR();
|
|
|
|
|
|
#endif
|