libgnomevfsmm 2.26.0
mime-action.h
Go to the documentation of this file.
1// -*- c++ -*-
2// Generated by gtkmmproc -- DO NOT MODIFY!
3#ifndef _LIBGNOMEVFSMM_MIME_ACTION_H
4#define _LIBGNOMEVFSMM_MIME_ACTION_H
5
6
7#include <glibmm.h>
8
9/* Copyright 2003 gnome-vfsmm Development Team
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; either
14 * version 2.1 of the License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free
23 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 */
25
26#include <libgnomevfs/gnome-vfs-mime-handlers.h>
27
28#include <libgnomevfsmm/enums.h>
30
31
32namespace Gnome
33{
34
35namespace Vfs
36{
37
39{
40 public:
41#ifndef DOXYGEN_SHOULD_SKIP_THIS
42 typedef MimeAction CppObjectType;
43 typedef GnomeVFSMimeAction BaseObjectType;
44#endif /* DOXYGEN_SHOULD_SKIP_THIS */
45
46private:
47
48
49public:
52
53 GnomeVFSMimeAction* gobj() { return gobject_; }
54 const GnomeVFSMimeAction* gobj() const { return gobject_; }
55
56
57#ifdef GLIBMM_EXCEPTIONS_ENABLED
58 void launch(const Glib::ListHandle<Glib::ustring>& uris) throw(exception);
59 void launch(const Glib::ListHandle<Glib::ustring>& uris, const Glib::ustring& envp) throw(exception);
60#else
61 void launch(const Glib::ListHandle<Glib::ustring>& uris, std::auto_ptr<Gnome::Vfs::exception>& error);
62 void launch(const Glib::ListHandle<Glib::ustring>& uris, const Glib::ustring& envp, std::auto_ptr<Gnome::Vfs::exception>& error);
63#endif //GLIBMM_EXCEPTIONS_ENABLED
64
65#ifndef DOXYGEN_SHOULD_SKIP_THIS
66 void assign_gobj(GnomeVFSMimeAction* src);
67#endif
68
69protected:
70 GnomeVFSMimeAction* gobject_;
71
72private:
73 //Instances of this class can not be copied:
74 MimeAction(const MimeAction&);
75 MimeAction& operator=(const MimeAction&);
76
77
78};
79
80} // namespace Vfs
81} // namespace Gnome
82
83
84#endif /* _LIBGNOMEVFSMM_MIME_ACTION_H */
85
Definition: mime-action.h:39
const GnomeVFSMimeAction * gobj() const
Definition: mime-action.h:54
GnomeVFSMimeAction * gobject_
Definition: mime-action.h:70
void launch(const Glib::ListHandle< Glib::ustring > &uris, const Glib::ustring &envp)
void launch(const Glib::ListHandle< Glib::ustring > &uris)
GnomeVFSMimeAction * gobj()
Definition: mime-action.h:53
Definition: exception.h:34
Definition: address.h:37