Unbroke the file selector (was listing only hidden files instead of non-hidden). Lua: can browse the whole filesystem now
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1761 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
4
src/io.h
4
src/io.h
@@ -90,8 +90,8 @@ int File_exists(char * fname);
|
||||
/// Returns true if a directory passed as a parameter exists in the current directory.
|
||||
int Directory_exists(char * directory);
|
||||
|
||||
/// Check if a file or directory is hidden.
|
||||
int File_is_hidden(const char *fname);
|
||||
/// Check if a file or directory is hidden. Full name (with directories) is optional.
|
||||
int File_is_hidden(const char *fname, const char *full_name);
|
||||
|
||||
/// Scans a directory, calls Callback for each file in it,
|
||||
void For_each_file(const char * directory_name, void Callback(const char *));
|
||||
|
||||
Reference in New Issue
Block a user