11 #ifndef __OP_GalleryManager__
12 #define __OP_GalleryManager__
20 class OP_GalleryCategoryOrder;
35 int getNumGalleries()
const;
39 bool create,
bool addtohistory);
40 bool removeGallery(
const char *path);
41 void removeGallery(
int index);
42 void getMatchingEntries(
45 bool include_hidden =
true)
const;
46 void getMatchingEntries(
48 const char *namepattern,
49 const char *labelpattern,
50 const char *keywordpattern,
54 bool include_hidden =
true)
const;
59 const char *optable = NULL);
65 void addExtraCategory(
const char *optable,
66 const char *category );
69 const UT_StringArray * getExtraCategories(
const char *optable )
const;
71 void refreshAll(
bool force);
72 void purgeInvalidGalleries();
76 void getInstalledGalleryPaths(
79 bool includehda)
const;
85 void setCreateBackups(
bool createbackups);
86 bool getCreateBackups()
const;
90 bool canSavePreferences()
const;
101 const char *parent_category = NULL);
111 void scanGalleriesPath();
113 static void fullyQualifyGalleryPath(
UT_String &path);
116 void loadPreferences();
117 void savePreferences();
118 void loadUiPreferences();
119 void saveUiPreferences();
126 bool myCreateBackups;
127 OP_GalleryCategoryOrder *myCategoryOrder;
GLsizei const GLchar *const * path
UT_NotifierImpl< OP_GalleryChangeType > OP_GalleryNotifier
OP_API OP_GalleryManager & OPgetGalleryManager()
SIM_API const UT_StringHolder force