libgnomevfsmm  2.26.0
mime-monitor.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMEVFSMM_MIME_MONITOR_H
4 #define _LIBGNOMEVFSMM_MIME_MONITOR_H
5 
6 
7 #include <glibmm.h>
8 
9 /* $Id: mime-monitor.hg,v 1.3 2004/04/07 17:39:05 murrayc Exp $ */
10 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
11 
12 /* mime-monitor.h
13  *
14  * Copyright 2003 gnome-vfsmm Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
31 #include <glibmm/object.h>
32 #include <libgnomevfs/gnome-vfs-mime-monitor.h>
33 
34 
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
37 
38 
39 namespace Gnome
40 {
41 
42 namespace Vfs
43 { class MimeMonitor_Class; } // namespace Vfs
44 
45 } // namespace Gnome
46 namespace Gnome
47 {
48 
49 namespace Vfs
50 {
51 
52 
53 class MimeMonitor : public Glib::Object
54 {
55 
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57 
58 public:
59  typedef MimeMonitor CppObjectType;
60  typedef MimeMonitor_Class CppClassType;
61  typedef GnomeVFSMIMEMonitor BaseObjectType;
62  typedef GnomeVFSMIMEMonitorClass BaseClassType;
63 
64 private: friend class MimeMonitor_Class;
65  static CppClassType mimemonitor_class_;
66 
67 private:
68  // noncopyable
69  MimeMonitor(const MimeMonitor&);
70  MimeMonitor& operator=(const MimeMonitor&);
71 
72 protected:
73  explicit MimeMonitor(const Glib::ConstructParams& construct_params);
74  explicit MimeMonitor(GnomeVFSMIMEMonitor* castitem);
75 
76 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
77 
78 public:
79  virtual ~MimeMonitor();
80 
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS
82  static GType get_type() G_GNUC_CONST;
83  static GType get_base_type() G_GNUC_CONST;
84 #endif
85 
87  GnomeVFSMIMEMonitor* gobj() { return reinterpret_cast<GnomeVFSMIMEMonitor*>(gobject_); }
88 
90  const GnomeVFSMIMEMonitor* gobj() const { return reinterpret_cast<GnomeVFSMIMEMonitor*>(gobject_); }
91 
93  GnomeVFSMIMEMonitor* gobj_copy();
94 
95 private:
96 
97  //TODO: Remove this and remove the #include when the struct declaration is fixed in gnome-vfs.
98 public:
99 
103  static Glib::RefPtr<MimeMonitor> get();
104 
105 
111  Glib::SignalProxy0< void > signal_data_changed();
112 
113 
114 public:
115 
116 public:
117  //C++ methods used to invoke GTK+ virtual functions:
118 #ifdef GLIBMM_VFUNCS_ENABLED
119 #endif //GLIBMM_VFUNCS_ENABLED
120 
121 protected:
122  //GTK+ Virtual Functions (override these to change behaviour):
123 #ifdef GLIBMM_VFUNCS_ENABLED
124 #endif //GLIBMM_VFUNCS_ENABLED
125 
126  //Default Signal Handlers::
127 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
128  virtual void on_data_changed();
129 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
130 
131 
132 };
133 
134 } // namespace Vfs
135 } // namespace Gnome
136 
137 
138 namespace Glib
139 {
148  Glib::RefPtr<Gnome::Vfs::MimeMonitor> wrap(GnomeVFSMIMEMonitor* object, bool take_copy = false);
149 }
150 
151 
152 #endif /* _LIBGNOMEVFSMM_MIME_MONITOR_H */
153 
Gnome
Definition: address.h:37
Gnome::Vfs::MimeMonitor::signal_data_changed
Glib::SignalProxy0< void > signal_data_changed()
Gnome::Vfs::MimeMonitor::on_data_changed
virtual void on_data_changed()
Gnome::Vfs::MimeMonitor::gobj
const GnomeVFSMIMEMonitor * gobj() const
Provides access to the underlying C GObject.
Definition: mime-monitor.h:90
Gnome::Vfs::MimeMonitor::~MimeMonitor
virtual ~MimeMonitor()
Gnome::Vfs::MimeMonitor::gobj_copy
GnomeVFSMIMEMonitor * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
Gnome::Vfs::MimeMonitor
Definition: mime-monitor.h:54
Gnome::Vfs::MimeMonitor::gobj
GnomeVFSMIMEMonitor * gobj()
Provides access to the underlying C GObject.
Definition: mime-monitor.h:87
Gnome::Vfs::MimeMonitor::get
static Glib::RefPtr< MimeMonitor > get()
Get access to the single global monitor.
Gnome::Vfs::MimeMonitor::wrap
Glib::RefPtr< Gnome::Vfs::MimeMonitor > wrap(GnomeVFSMIMEMonitor *object, bool take_copy=false)
A Glib::wrap() method for this object.
Glib
Definition: address.h:120