16 #ifndef __UT_PathFile__
17 #define __UT_PathFile__
29 #define UT_NOSAVE_HINT ".nosave"
30 #define UT_HIDE_HINT ".hide"
31 #define UT_APPEND_HINT ".append"
44 void setSearchPath(
int path_id,
const char *
pattern);
47 void applyStandardFilter();
63 const char *getCurrentFileName();
68 int getDirCount()
const;
69 const char *getDir(
int i)
const;
73 int getFileInfoCount(
int filtered=1)
const;
77 { myFileInfos.append(info); }
88 void removeFileInfo(
int i);
90 void removeFileInfo(
const char *fullpath);
95 void computeFileList();
97 void addMatchingFiles(
char *fullpattern,
int level);
98 void removeMatchingFiles(
char *fullpattern,
int level);
101 unsigned int myBusyFlag:1,
104 void computeDefaultDir();
108 int myDefaultDirIndex;
110 int myCurrentFileIndex;
111 int myCurrentLineNumber;
116 friend int utAddMatchingFiles(
const char *file,
void *
data);
117 friend int utRemoveMatchingFiles(
const char *file,
void *
data);
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
GT_API const UT_StringHolder filename
int(* fs_path_compare_func_t)(UT_PathFileInfo *const *, UT_PathFileInfo *const *)
**But if you need a result
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)
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
const char * getDefaultDir()
int getCurrentLineNumber()