00001
00002
00003
#ifndef _LIBGNOMEVFSMM_MIME_ACTION_H
00004
#define _LIBGNOMEVFSMM_MIME_ACTION_H
00005
00006
#include <glibmm.h>
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
#include <libgnomevfs/gnome-vfs-mime-handlers.h>
00026
00027
#include <libgnomevfsmm/enums.h>
00028
#include <libgnomevfsmm/exception.h>
00029
00030
00031
namespace Gnome
00032 {
00033
00034
namespace Vfs
00035 {
00036
00037 class MimeAction
00038 {
00039
public:
00040
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00041
typedef MimeAction CppObjectType;
00042
typedef GnomeVFSMimeAction BaseObjectType;
00043
#endif
00044
00045
private:
00046
00047
00048
public:
00049
MimeAction();
00050
~MimeAction();
00051
00052 GnomeVFSMimeAction*
gobj() {
return gobject_; }
00053 const GnomeVFSMimeAction*
gobj()
const {
return gobject_; }
00054
00055
00056
void launch(
const Glib::ListHandle<Glib::ustring>& uris)
throw(
exception);
00057
void launch(
const Glib::ListHandle<Glib::ustring>& uris,
const Glib::ustring& envp)
throw(
exception);
00058
00059
#ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
void assign_gobj(GnomeVFSMimeAction* src);
00061
#endif
00062
00063
protected:
00064 GnomeVFSMimeAction*
gobject_;
00065
00066
private:
00067
00068
MimeAction(
const MimeAction&);
00069
MimeAction& operator=(
const MimeAction&);
00070
00071
00072 };
00073
00074 }
00075 }
00076
00077
#endif
00078