Details
GNOME_VFS_APPLICATION_REGISTRY_COMMAND
#define GNOME_VFS_APPLICATION_REGISTRY_COMMAND "command"
GNOME_VFS_APPLICATION_REGISTRY_NAME
#define GNOME_VFS_APPLICATION_REGISTRY_NAME "name"
GNOME_VFS_APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES
#define GNOME_VFS_APPLICATION_REGISTRY_CAN_OPEN_MULTIPLE_FILES "can_open_multiple_files"
GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL
#define GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL "requires_terminal"
gnome_vfs_application_registry_exists ()
gboolean gnome_vfs_application_registry_exists
(const char *app_id);
app_id : | an application ID
|
Returns : | TRUE if the application is in the registry, FALSE if not
|
gnome_vfs_application_registry_get_keys ()
GList* gnome_vfs_application_registry_get_keys
(const char *app_id);
app_id : | the application ID for which to get keys
|
Returns : | A list of the keys set for app_id
|
gnome_vfs_application_registry_peek_value ()
const char* gnome_vfs_application_registry_peek_value
(const char *app_id,
const char *key);
app_id : | the application ID for which to look up a value
|
key : | the key to look up
|
Returns : | the value associated with the key, or NULL if there is no
associated value
|
gnome_vfs_application_registry_get_bool_value ()
gboolean gnome_vfs_application_registry_get_bool_value
(const char *app_id,
const char *key,
gboolean *got_key);
app_id : | registry id of the application
|
key : | key to look up
|
got_key : | TRUE if a setting was dound, otherwise FALSE
|
Returns : | TRUE if key is set to "true" or "yes" for app_id, otherwise FALSE
|
gnome_vfs_application_registry_remove_application ()
void gnome_vfs_application_registry_remove_application
(const char *app_id);
app_id : | registry id of the application
|
gnome_vfs_application_registry_set_value ()
void gnome_vfs_application_registry_set_value
(const char *app_id,
const char *key,
const char *value);
app_id : | registry id of the application
|
key : | target key
|
value : | value to set the target key to
|
gnome_vfs_application_registry_set_bool_value ()
void gnome_vfs_application_registry_set_bool_value
(const char *app_id,
const char *key,
gboolean value);
app_id : | registry id of the application
|
key : | target key
|
value : | value you want to set the target key to
|
gnome_vfs_application_registry_unset_key ()
void gnome_vfs_application_registry_unset_key
(const char *app_id,
const char *key);
app_id : | registry id of the application
|
key : | search key
|
gnome_vfs_application_registry_get_applications ()
GList* gnome_vfs_application_registry_get_applications
(const char *mime_type);
mime_type : | mime type string
|
Returns : | a list of the application IDs for all applications which
support the given mime type.
|
gnome_vfs_application_registry_get_mime_types ()
GList* gnome_vfs_application_registry_get_mime_types
(const char *app_id);
app_id : | registry id of application
|
Returns : | a list of the mime types supported
|
gnome_vfs_application_registry_supports_mime_type ()
gboolean gnome_vfs_application_registry_supports_mime_type
(const char *app_id,
const char *mime_type);
app_id : | registry id of application
|
mime_type : | mime type string
|
Returns : | TRUE if app_id supports mime_type, otherwise FALSE.
|
gnome_vfs_application_registry_supports_uri_scheme ()
gboolean gnome_vfs_application_registry_supports_uri_scheme
(const char *app_id,
const char *uri_scheme);
app_id : | registry id of application
|
uri_scheme : | uri schme string
|
Returns : | TRUE if app_id supports uri_scheme, otherwise FALSE
|
gnome_vfs_application_is_user_owned_application ()
gboolean gnome_vfs_application_is_user_owned_application
(const GnomeVFSMimeApplication *application);
application : | data structure of the mime application
|
Returns : | gboolean
|
gnome_vfs_application_registry_clear_mime_types ()
void gnome_vfs_application_registry_clear_mime_types
(const char *app_id);
gnome_vfs_application_registry_add_mime_type ()
void gnome_vfs_application_registry_add_mime_type
(const char *app_id,
const char *mime_type);
app_id : | registry id of application
|
mime_type : | mime type string
|
gnome_vfs_application_registry_remove_mime_type ()
void gnome_vfs_application_registry_remove_mime_type
(const char *app_id,
const char *mime_type);
app_id : | registry id of the application
|
mime_type : | mime type string
|
gnome_vfs_application_registry_sync ()
GnomeVFSResult gnome_vfs_application_registry_sync
(void);
gnome_vfs_application_registry_shutdown ()
void gnome_vfs_application_registry_shutdown
(void);
gnome_vfs_application_registry_reload ()
void gnome_vfs_application_registry_reload
(void);
gnome_vfs_application_registry_get_mime_application ()
GnomeVFSMimeApplication* gnome_vfs_application_registry_get_mime_application
(const char *app_id);
app_id : | registry id of the application
|
Returns : | GnomeVFSMimeApplication
|
gnome_vfs_application_registry_save_mime_application ()
void gnome_vfs_application_registry_save_mime_application
(const GnomeVFSMimeApplication *application);
application : | application associated with the mime type
|