tytd-2019/source/settings.h

46 lines
901 B
C
Raw Normal View History

2022-04-17 11:39:48 +00:00
#ifndef SETTINGS_H
#define SETTINGS_H
#include <fat.h>
#include <unistd.h>
#include <sys/stat.h>
#include <ogc/usbstorage.h>
#include <stdio.h>
#include <stdlib.h>
#include <gccore.h>
#include <wiiuse/wpad.h>
#include <string.h>
#include <time.h>
2022-04-17 11:41:25 +00:00
2022-04-17 11:39:48 +00:00
#include <curl/curl.h>
#include <grrlib.h>
#include "FreeMonoBold_ttf.h"
2022-04-17 11:41:25 +00:00
typedef struct dlf{
FILE* fp;
char fnam[1000];
int fileid;
}dlf;
void DLFhandler(dlf* dl,size_t real);
2022-04-17 11:39:48 +00:00
void OpenPlaylistFile(char* playlist);
char* OpenFile(char* fname);
char* OpenPlaylistVideoFile(char* playlist,char* video);
FILE* HistoryRead();
FILE* HistoryAppend();
int UsingIRFeatures();
int FileSystemDrivers();
char* OpenVideoFile(char* filename);
char* ThumbnailFileName(char* filename);
int ThumbnailExists(char* id);
int CreateFolders();
char* ThumbnailURL(char* id);
FILE* PlaylistTXT(char* fil);
char* Temp();
void DeleteTemp();
void SwitchIR();
#endif