|
Public Member Functions |
| MimeApplication () |
| MimeApplication (GnomeVFSMimeApplication *castitem, bool make_a_copy=false) |
| MimeApplication (const MimeApplication &src) |
MimeApplication & | operator= (const MimeApplication &src) |
| ~MimeApplication () |
GnomeVFSMimeApplication * | gobj () |
const GnomeVFSMimeApplication * | gobj () const |
GnomeVFSMimeApplication * | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
|
| MimeApplication (const Glib::ustring &id) |
| MimeApplication (const Glib::ustring &id, const Glib::ustring &name, const Glib::ustring &command, MimeApplicationArgumentType argument_type, ListHandleStrings supported_uri_schemes, bool multiple_files, bool requires_terminal) |
| operator bool () const |
Glib::ustring | get_id () const |
| Get the id of this applicaiton.
|
Glib::ustring | get_name () const |
| Get the name of this application.
|
Glib::ustring | get_command () const |
| Get the command for this application.
|
MimeApplicationArgumentType | get_argument_type () const |
| Get the argument type for this application.
|
Glib::ListHandle< Glib::ustring > | get_supported_uri_schemes () const |
| Get a list of this application's supported uri schemes.
|
bool | can_open_multiple_files () const |
| Test to see if this application can open multiple files.
|
bool | requires_terminal () const |
| Test to see if this application requires the terminal.
|
void | set_id (const Glib::ustring &value) |
void | set_name (const Glib::ustring &value) |
void | set_command (const Glib::ustring &value) |
void | set_argument_type (const MimeApplicationArgumentType &value) |
void | set_supported_uri_schemes (const Glib::ListHandle< Glib::ustring > &value) |
void | set_open_multiple_files (bool value=true) |
void | set_requires_terminal (bool value=true) |
bool | is_user_owned () const |
| Checks whether this application is owned or not.
|
bool | exists_in_registry () const |
void | remove_from_registry () |
void | save_to_registry () |
| This will save to the registry the application that will be associated with a defined mime type.
|
ListHandleStrings | get_keys () const |
ListHandleStrings | get_mime_types () const |
void | clear_mime_types () |
bool | supports_mime_type (const Glib::ustring &mime_type) const |
bool | supports_uri_scheme (const Glib::ustring &uri_scheme) const |
Glib::ustring | get_value (const Glib::ustring &key) const |
bool | get_value_bool (const Glib::ustring &key, bool &got_key) const |
bool | get_value_bool (const Glib::ustring &key) const |
void | set_value (const Glib::ustring &key, const Glib::ustring &value) |
void | set_value (const Glib::ustring &key, bool value) |
void | unset_key (const Glib::ustring &key) |
void | add_mime_type (const Glib::ustring &mime_type) |
void | remove_mime_type (const Glib::ustring &mime_type) |
void | set_default (const Glib::ustring &mime_type) throw (exception) |
void | add_to_short_list (const Glib::ustring &mime_type) throw (exception) |
void | remove_from_short_list (const Glib::ustring &mime_type) throw (exception) |
void | launch (const Glib::ListHandle< Glib::ustring > &uris) throw (exception) |
void | launch (const Glib::ListHandle< Glib::ustring > &uris, const Glib::ustring &envp) throw (exception) |
Protected Attributes |
GnomeVFSMimeApplication * | gobject_ |
Related Functions |
(Note that these are not member functions.)
|
Gnome::Vfs::MimeApplication | wrap (GnomeVFSMimeApplication *object, bool take_copy=false) |