#include <glibmm.h>
#include <libgnomevfsmm/enums.h>
#include <libgnomevfsmm/exception.h>
#include <libgnomevfsmm/mime-application.h>
#include <libgnomevfs/gnome-vfs-application-registry.h>
Go to the source code of this file.
Namespaces | |
namespace | Gnome |
namespace | Gnome::Vfs |
namespace | Gnome::Vfs::ApplicationRegistry |
Typedefs | |
typedef Glib::ListHandle< Glib::ustring > | Gnome::Vfs::ApplicationRegistry::ListHandleStrings |
Functions | |
bool | Gnome::Vfs::ApplicationRegistry::exists (const Glib::ustring &app_id) |
Check to see if there is an entry for app_id in the registry. | |
ListHandleStrings | Gnome::Vfs::ApplicationRegistry::get_keys (const Glib::ustring &app_id) |
Get a list of keys for a specified application in the registry. | |
Glib::ustring | Gnome::Vfs::ApplicationRegistry::peek_value (const Glib::ustring &app_id, const Glib::ustring &key) |
Get the value associated with key for app_id in the registry. | |
bool | Gnome::Vfs::ApplicationRegistry::get_bool_value (const Glib::ustring &app_id, const Glib::ustring &key, bool &got_key) |
Look up a key in the structure pointed to by app_id and return the boolean value of that key. | |
void | Gnome::Vfs::ApplicationRegistry::remove_application (const Glib::ustring &app_id) |
Remove the application represented by app_id from the registry. | |
void | Gnome::Vfs::ApplicationRegistry::set_value (const Glib::ustring &app_id, const Glib::ustring &key, const Glib::ustring &value) |
Set values pertaining to the registry entry pointed to by app_id. | |
void | Gnome::Vfs::ApplicationRegistry::set_value (const Glib::ustring &app_id, const Glib::ustring &key, bool value=true) |
Set values pertaining to the registry entry pointed to by app_id. | |
void | Gnome::Vfs::ApplicationRegistry::unset_key (const Glib::ustring &app_id, const Glib::ustring &key) |
Wipe the current value that key contains for app_id. | |
ListHandleStrings | Gnome::Vfs::ApplicationRegistry::get_applications (const Glib::ustring &mime_type) |
Get all application IDs from the registry that are associated with the given MIME type. | |
ListHandleStrings | Gnome::Vfs::ApplicationRegistry::get_mime_types (const Glib::ustring &app_id) |
Get all MIME types that can be handled by an application. | |
bool | Gnome::Vfs::ApplicationRegistry::supports_mime_type (const Glib::ustring &app_id, const Glib::ustring &mime_type) |
Checks whether an application is associated with a given MIME type. | |
bool | Gnome::Vfs::ApplicationRegistry::supports_uri_scheme (const Glib::ustring &app_id, const Glib::ustring &uri_scheme) |
Checks whether an application supports the given URI scheme. | |
void | Gnome::Vfs::ApplicationRegistry::clear_mime_types (const Glib::ustring &app_id) |
Remove the MIME types associated with an application. | |
void | Gnome::Vfs::ApplicationRegistry::add_mime_type (const Glib::ustring &app_id, const Glib::ustring &mime_type) |
Associate an MIME type with an application. | |
void | Gnome::Vfs::ApplicationRegistry::remove_mime_type (const Glib::ustring &app_id, const Glib::ustring &mime_type) |
De-Associate an MIME type from an application. | |
void | Gnome::Vfs::ApplicationRegistry::sync () throw (exception) |
This function will sync the registry. | |
void | Gnome::Vfs::ApplicationRegistry::shutdown () |
Synchronize the application registry data to disk and free resources. | |
void | Gnome::Vfs::ApplicationRegistry::reload () |
If this function is called for the first time, it will initialize the registry. | |
MimeApplication | Gnome::Vfs::ApplicationRegistry::get_mime_application (const Glib::ustring &app_id) |
Get the MimeApplication associated with app_id . | |
void | Gnome::Vfs::ApplicationRegistry::save_mime_application (const MimeApplication &application) |
Save an application to the registry that will be associated with a defined MIME type. |