3 #ifndef _LIBGNOMEVFSMM_MIME_APPLICATION_H
4 #define _LIBGNOMEVFSMM_MIME_APPLICATION_H
26 #include <libgnomevfs/gnome-vfs-mime-handlers.h>
27 #include <libgnomevfs/gnome-vfs-application-registry.h>
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
47 typedef GnomeVFSMimeApplication BaseObjectType;
53 explicit MimeApplication(GnomeVFSMimeApplication* castitem,
bool make_a_copy =
false);
64 GnomeVFSMimeApplication*
gobj_copy()
const;
80 operator bool()
const;
85 Glib::ustring
get_id()
const;
118 void set_id(
const Glib::ustring& value);
119 void set_name(
const Glib::ustring& value);
157 Glib::ustring
get_value(
const Glib::ustring& key)
const;
158 bool get_value_bool(
const Glib::ustring& key,
bool& got_key)
const;
161 void set_value(
const Glib::ustring& key,
const Glib::ustring& value);
162 void set_value(
const Glib::ustring& key,
bool value);
163 void unset_key(
const Glib::ustring& key);
172 #ifdef GLIBMM_EXCEPTIONS_ENABLED
178 void launch(
const Glib::ListHandle<Glib::ustring>& uris)
throw(
exception);
179 void launch(
const Glib::ListHandle<Glib::ustring>& uris,
const Glib::ustring& envp)
throw(
exception);
183 void set_default(
const Glib::ustring& mime_type, std::auto_ptr<Gnome::Vfs::exception>& error);
184 void add_to_short_list(
const Glib::ustring& mime_type, std::auto_ptr<Gnome::Vfs::exception>& error);
187 void launch(
const Glib::ListHandle<Glib::ustring>& uris, std::auto_ptr<Gnome::Vfs::exception>& error);
188 void launch(
const Glib::ListHandle<Glib::ustring>& uris,
const Glib::ustring& envp, std::auto_ptr<Gnome::Vfs::exception>& error);