11 #ifndef __PRM_PresetInfo__
12 #define __PRM_PresetInfo__
28 #define PRM_DEFAULT_PRESET "Permanent Defaults"
46 void setIndexFile(
const char *subdir);
47 void setNeedsRefresh();
54 int getDefaultPreset();
55 int getPresetIndex(
const char *presetname);
57 bool deletePresetFromDir(
const char *
name,
65 const char *filename);
71 bool savePreset(
PRM_ParmList *parmlist, std::ostream &os);
75 static void makeValidPresetFileName(
UT_String &filename);
85 void findAllPresets();
86 void refreshIfRequired();
GT_API const UT_StringHolder filename
GLuint const GLchar * name
std::pair< UT_String, UT_String > UT_StringPair
UT_ValArray< UT_StringPair * > UT_StringPairList