16 #ifndef __FS_FileSystem__
17 #define __FS_FileSystem__
41 int changePath(
const char *newpath);
42 const char *getPath(
char *
buffer=0,
int len=0);
45 int canCreateDir(
const char *
path);
46 int createDir(
const char *
path);
48 int canViewFile()
const;
49 void viewFile(
const char *
path);
65 int accessFile(
const char *
name,
int access_mode);
71 {
return myDirectories; }
73 {
return myFilenames; }
78 void setHidden (
bool hidden) { myIgnoreHidden = hidden; }
80 int isRoot(
const char *otherpath = 0);
86 time_t statDirectory();
97 void addDirectory(
const char *
name,
const FS_Stat &fstat);
98 void addFilename(
const char *
name,
const FS_Stat &fstat);
113 time_t myLastReadTime;
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
GT_API const UT_StringHolder filename
UT_StringArray & getFiles()
UT_StringArray & getDirectories()
UT_Array< FS_Stat > & getFileStats()
GLsizei const GLchar *const * path
void setHidden(bool hidden)
void setPattern(const char *p)
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
GLuint const GLchar * name
Helper class for encapsulating file information.
int(* FS_FileFilter)(const char *filename, void *data)
FS_FileFilter myDirFilter
UT_Array< FS_Stat > & getDirStats()
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter