21 #ifndef _LIBGNOMEVFSMM_APPLICATION_REGISTRY_H
22 #define _LIBGNOMEVFSMM_APPLICATION_REGISTRY_H
29 #include <libgnomevfs/gnome-vfs-application-registry.h>
41 namespace ApplicationRegistry
52 bool exists(
const Glib::ustring& app_id);
69 Glib::ustring
peek_value(
const Glib::ustring& app_id,
const Glib::ustring& key);
82 bool get_bool_value(
const Glib::ustring& app_id,
const Glib::ustring& key,
bool& got_key);
98 void set_value(
const Glib::ustring& app_id,
const Glib::ustring& key,
const Glib::ustring& value);
110 void set_value(
const Glib::ustring& app_id,
const Glib::ustring& key,
bool value =
true);
119 void unset_key(
const Glib::ustring& app_id,
const Glib::ustring& key);
174 void add_mime_type(
const Glib::ustring& app_id,
const Glib::ustring& mime_type);
182 void remove_mime_type(
const Glib::ustring& app_id,
const Glib::ustring& mime_type);
188 #ifdef GLIBMM_EXCEPTIONS_ENABLED
191 void sync(std::auto_ptr<Gnome::Vfs::exception>& error);