16 #ifndef __UT_PathFile__
17 #define __UT_PathFile__
28 #define UT_NOSAVE_HINT ".nosave"
29 #define UT_HIDE_HINT ".hide"
30 #define UT_APPEND_HINT ".append"
42 void setSearchPath(
int path_id,
const char *
pattern);
45 void applyStandardFilter();
61 const char *getCurrentFileName();
66 int getDirCount()
const;
67 const char *getDir(
int i)
const;
71 int getFileInfoCount(
int filtered=1)
const;
75 { myFileInfos.append(info); }
86 void removeFileInfo(
int i);
88 void removeFileInfo(
const char *fullpath);
93 void computeFileList();
95 void addMatchingFiles(
char *fullpattern,
int level);
96 void removeMatchingFiles(
char *fullpattern,
int level);
99 unsigned int myBusyFlag:1,
102 void computeDefaultDir();
106 int myDefaultDirIndex;
108 int myCurrentFileIndex;
109 int myCurrentLineNumber;
114 friend int utAddMatchingFiles(
const char *file,
void *
data);
115 friend int utRemoveMatchingFiles(
const char *file,
void *
data);
GT_API const UT_StringHolder filename
int(* fs_path_compare_func_t)(UT_PathFileInfo *const *, UT_PathFileInfo *const *)
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
const char * getSearchPattern()
CompareResults OIIO_API compare(const ImageBuf &A, const ImageBuf &B, float failthresh, float warnthresh, ROI roi={}, int nthreads=0)
FS_API bool UTfindPreferenceFile(int path_id, const char *filename, UT_String &result, bool &no_save)
void appendFileInfo(UT_PathFileInfo *info)
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer
const char * getDefaultDir()
int getCurrentLineNumber()