|
Typedefs |
typedef Glib::ListHandle<
Gnome::Vfs::MimeApplication * > | ListHandleApps |
typedef GList * | ListHandleComps |
typedef Glib::ListHandle<
Glib::ustring > | ListHandleStrings |
Functions |
MimeActionType | get_default_action_type (const Glib::ustring &mime_type) |
| Get a default action type for specified mime_type.
|
MimeApplication | get_default_application (const Glib::ustring &mime_type) |
| Get the default application for specified mime_type.
|
GnomeVFSMimeAction * | get_default_action (const Glib::ustring &mime_type) |
| Get the default action for specified mime_type.
|
Bonobo_ServerInfo * | get_default_component (const Glib::ustring &mime_type) |
ListHandleApps | get_short_list_applications (const Glib::ustring &mime_type) |
| Get a short list of applications for specified mime_type.
|
ListHandleApps | get_all_applications (const Glib::ustring &mime_type) |
| Get the entire list of applications for specified mime_type.
|
ListHandleComps | get_short_list_components (const Glib::ustring &mime_type) |
| Get a short list of actions for specified mime_type.
|
ListHandleComps | get_all_components (const Glib::ustring &mime_type) |
| Get the entire list of actions for specified mime_type.
|
bool | id_in_application_list (const Glib::ustring &id, const ListHandleApps &applications) |
| Test if an application ID is in a list of applications.
|
ListHandleStrings | id_list_from_application_list (const ListHandleApps &applications) |
| Get a list of IDs corresponding to the applications in a list.
|
bool | id_in_component_list (const Glib::ustring &iid, ListHandleComps components) |
| Test if a component id is in a list of components.
|
ListHandleStrings | id_list_from_component_list (ListHandleComps components) |
| Get a list of OAF IID's corresponding to the Bonobo_ServerInfos in a list.
|
Glib::ustring | get_icon (const Glib::ustring &mime_type) |
| Query the MIME database for an icon representing the specified MIME type.
|
Glib::ustring | get_description (const Glib::ustring &mime_type) |
| Query the MIME database for a description of the specified MIME type.
|
bool | can_be_executable (const Glib::ustring &mime_type) |
| Test whether files of this MIME type might conceivably be executable.
|
bool | type_is_known (const Glib::ustring &mime_type) |
| Test to see if mime_type is in the MIME database at all.
|
ListHandleStrings | get_extensions_list (const Glib::ustring &mime_type) |
| Get the file extensions associated with an MIME type.
|
Glib::ustring | get_extensions_string (const Glib::ustring &mime_type, bool pretty=false) |
| Retrieves the extensions associated with mime_type.
|
ListHandleStrings | get_registered_types () |
| Get a list of registered MIME types from the MIME database.
|
Glib::ustring | get_value (Glib::ustring &mime_type, Glib::ustring &key) |
| Retrieve the value associated with key in the given GnomeMimeContext.
|
ListHandleStrings | get_key_list (Glib::ustring &mime_type) |
| Retrieve a list of all keys associated with mime_type.
|
void | set_default_action_type (const Glib::ustring &mime_type, MimeActionType action_type) throw (exception) |
| Sets the default action type to be performed on files of the specified MIME type.
|
void | set_default_application (const Glib::ustring &mime_type, const Glib::ustring &application_id) throw (exception) |
| Sets the default application to run on files of the specified MIME type.
|
void | set_default_component (const Glib::ustring &mime_type, const Glib::ustring &iid) throw (exception) |
| Sets the default component to use with files of the specified MIME type.
|
void | set_icon (const Glib::ustring &mime_type, const Glib::ustring &filename) throw (exception) |
| Set the icon entry for a particular MIME type in the MIME database.
|
void | set_description (const Glib::ustring &mime_type, const Glib::ustring &description) throw (exception) |
| Set the description of this MIME type in the MIME database.
|
void | set_can_be_executable (const Glib::ustring &mime_type, bool new_value) throw (exception) |
| Set whether files of this MIME type might conceivably be executable.
|
void | set_short_list_applications (const Glib::ustring &mime_type, ListHandleStrings &application_ids) throw (exception) |
| Set the short list of applications for the specified MIME type.
|
void | set_short_list_components (const Glib::ustring &mime_type, ListHandleStrings &component_iids) throw (exception) |
| Set the short list of components for the specified MIME type.
|
void | add_application_to_short_list (const Glib::ustring &mime_type, Glib::ustring &application_id) throw (exception) |
| Add an application to the short list for the specified MIME type.
|
void | remove_application_from_short_list (const Glib::ustring &mime_type, Glib::ustring &application_id) throw (exception) |
| Remove an application from the short list for the specified MIME type.
|
void | add_component_to_short_list (const Glib::ustring &mime_type, Glib::ustring &component_iid) throw (exception) |
| Add a component to the short list for the specified MIME type.
|
void | remove_component_from_short_list (const Glib::ustring &mime_type, Glib::ustring &component_iid) throw (exception) |
| Remove a component from the short list for the specified MIME type.
|
void | add_extension (const Glib::ustring &mime_type, Glib::ustring &extension) throw (exception) |
| Add a file extension to the specified MIME type in the database.
|
void | remove_extension (const Glib::ustring &mime_type, Glib::ustring &extension) throw (exception) |
| Removes a file extension from the specified MIME type in the database.
|
void | set_extensions_list (const Glib::ustring &mime_type, const Glib::ustring &extensions_list) throw (exception) |
| Sets the extensions for a given mime type.
|
void | extend_all_applications (const Glib::ustring &mime_type, ListHandleStrings &application_ids) throw (exception) |
| Register mime_type as being handled by all applications listed in application_ids.
|
void | remove_from_all_applications (const Glib::ustring &mime_type, ListHandleStrings &application_ids) throw (exception) |
| Remove mime_type as a handled type from every application in application_ids.
|
void | registered_mime_type_delete (const Glib::ustring &mime_type) |
| Delete an MIME type for the user who runs this command.
|
void | set_registered_type_key (const Glib::ustring &mime_type, const Glib::ustring &key, const Glib::ustring &data) throw (exception) |
| Set the key data for the registered MIME type's hash table.
|
void | set_value (const Glib::ustring &mime_type, const Glib::ustring &key, const Glib::ustring &value) throw (exception) |
| Set the value associated with the key.
|
void | freeze () |
| Freeze the MIME data so that you can do multiple updates to the data in one batch without needing to back-up the files to disk or rewind them.
|
void | thaw () |
| UnFreeze the MIME data after a freeze.
|
void | info_reload () |
| Reload the MIME database from disk.
|
void | reset () |
| Reset the user's MIME database to the system defaults.
|