Whole document tree
Application RegistrySynopsisDetailsGNOME_VFS_APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES
GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL
gnome_vfs_application_registry_exists ()
This function will check, if given an application name, exists in the registry. app_id: String containing the application name gnome_vfs_application_registry_get_keys ()
app_id: registry id of the application This function wil return a list of keys for an applicaton id from the registry. gnome_vfs_application_registry_peek_value ()
app_id: registry id of the application key: key we want to look up. This will return the value of the key in registry pointed to by app_id. gnome_vfs_application_registry_get_bool_value ()
app_id: registry id of the application key: key to look up got_key: key you have This will look up a key in the structure pointed to by app_id and return the boolean value of that key. It will return false if there are no applications associated with the app_id. gnome_vfs_application_registry_remove_application ()
app_id: registry id of the application Given the registry id this function will remove all applications that has been set by the user. You will need to call gnome_vfs_application_registry_sync to save the changes. gnome_vfs_application_registry_set_value ()
app_id: registry id of the application key: target key value: value to set the target key to This function will set values pertaining to registry entry pointed to by app_id. You will need to call gnome_vfs_application_registry_sync to realize the changes. gnome_vfs_application_registry_set_bool_value ()
app_id: registry id of the application key: target key value: value you want to set the target key to. This function will modify those registry values that are of type boolean to a value specified by the user. You will need to call gnome_vfs_application_registry_sync to save your changes. gnome_vfs_application_registry_unset_key ()
app_id: registry id of the application key: search key This function given the application and the target will wipe the current value that the key contains. gnome_vfs_application_registry_get_applications ()
mime_type: mime type string This will return all applications from the registry that are associated with the given mime type string. gnome_vfs_application_registry_get_mime_types ()
app_id: registry id of application This function returns a list of mime types that is associated with a registry id. gnome_vfs_application_registry_supports_mime_type ()
app_id: registry id of application mime_type: mime type string Use this function to see if there is an application associated with a given mime type. The function will return true or false. gnome_vfs_application_registry_supports_uri_scheme ()
app_id: registry id of application uri_scheme: uri schme string Given the id of the application this function will determine if the uri scheme will given is supported. gnome_vfs_application_is_user_owned_application ()
application: data structure of the mime application This function will determine if a mime application is user owned or not. By user ownered this means that the application is not a system application located in the prerequisite /usr area but rather in the user's area. gnome_vfs_application_registry_clear_mime_types ()
This function will remove the mime types associated with the application. Changes are not realized until the gnome_vfs_application_registry_sync function is called to save the changes to the file. gnome_vfs_application_registry_add_mime_type ()
This function will associate a mime type with an application given the application registry id and the mime type. Changes are not realized until the gnome_vfs_application_registry_sync function is called to save the changes to the file. gnome_vfs_application_registry_remove_mime_type ()
This function will de-associate a mime type from an application registry. Given the application registry id and the mime type. Changes are not realized until the gnome_vfs_application_registry_sync function is called to save the changes to the file. gnome_vfs_application_registry_sync ()
This function will sync the registry. Typically you would use this function after a modification of the registry. When you modify the registry a dirty flag is set. Calling this function will save your modifications to disk and reset the flag. If successful, will return GNOME_VFS_OK gnome_vfs_application_registry_shutdown ()
This will delete the global gnome-vfs registry. gnome_vfs_application_registry_reload ()
If this function is called for the first time it will initialize the registry. Subsequent calls to the function will clear out the current registry contents and load registry contents from the save file. Make certain that you've saved your registry before calling this function. It will destroy unsaved changes. gnome_vfs_application_registry_get_mime_application ()
Returns a structure that contains the application that handles the mime type associated by the application referred by app_id. gnome_vfs_application_registry_save_mime_application ()
application: application associated with the mime type This will save to the registry the application that will be associated with a defined mime type. The defined mime type is located within the GnomeVFSMimeApplication structure. Changes are not realized until the gnome_vfs_application_registry_sync function is called. |