--- a/src/common/rclconfig.cpp
+++ b/src/common/rclconfig.cpp
@@ -574,6 +574,24 @@
LOGDEB1(("getMimeHandler: no handler for '%s'\n", mtype.c_str()));
}
return hs;
+}
+
+bool RclConfig::getGuiFilterNames(list<string>& cats)
+{
+ if (!mimeconf)
+ return false;
+ cats = mimeconf->getNamesShallow("guifilters");
+ return true;
+}
+
+bool RclConfig::getGuiFilter(const string& catfiltername, string& frag)
+{
+ frag.clear();
+ if (!mimeconf)
+ return false;
+ if (!mimeconf->get(catfiltername, frag, "guifilters"))
+ return false;
+ return true;
}
bool RclConfig::valueSplitAttributes(const string& whole, string& value,