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