Code cleanup: Removed the code related to Save/Load window from buttons.c, transferred it to files.c. Files.h now only exposes this window's function.
Some code related to this window is still in loadsave.c (stuff for preview) git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@695 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
9
io.h
9
io.h
@@ -49,9 +49,18 @@ char * Position_dernier_slash(const char * Chaine);
|
||||
#define SEPARATEUR_CHEMIN "/"
|
||||
#endif
|
||||
|
||||
// Taille de fichier, en octets
|
||||
int FileLength(const char *fname);
|
||||
|
||||
// Taille de fichier, en octets
|
||||
int File_length_file(FILE * file);
|
||||
|
||||
// Détermine si un file passé en paramètre existe ou non dans le
|
||||
// répertoire courant.
|
||||
int Fichier_existe(char * fname);
|
||||
// Détermine si un répertoire passé en paramètre existe ou non dans le
|
||||
// répertoire courant.
|
||||
int Repertoire_existe(char * Repertoire);
|
||||
|
||||
// Scans a directory, calls Callback for each file in it,
|
||||
void for_each_file(const char * Nom_repertoire, void Callback(const char *));
|
||||
|
||||
Reference in New Issue
Block a user