libgnomevfsmm 2.26.0
|
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMEVFSMM_MIME_MONITOR_H 00004 #define _LIBGNOMEVFSMM_MIME_MONITOR_H 00005 00006 00007 #include <glibmm.h> 00008 00009 /* $Id: mime-monitor.hg,v 1.3 2004/04/07 17:39:05 murrayc Exp $ */ 00010 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in 00011 00012 /* mime-monitor.h 00013 * 00014 * Copyright 2003 gnome-vfsmm Development Team 00015 * 00016 * This library is free software; you can redistribute it and/or 00017 * modify it under the terms of the GNU Lesser General Public 00018 * License as published by the Free Software Foundation; either 00019 * version 2.1 of the License, or (at your option) any later version. 00020 * 00021 * This library is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00024 * Lesser General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU Lesser General Public 00027 * License along with this library; if not, write to the Free 00028 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00029 */ 00030 00031 #include <glibmm/object.h> 00032 #include <libgnomevfs/gnome-vfs-mime-monitor.h> 00033 00034 00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00037 00038 00039 namespace Gnome 00040 { 00041 00042 namespace Vfs 00043 { class MimeMonitor_Class; } // namespace Vfs 00044 00045 } // namespace Gnome 00046 namespace Gnome 00047 { 00048 00049 namespace Vfs 00050 { 00051 00052 00053 class MimeMonitor : public Glib::Object 00054 { 00055 00056 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00057 00058 public: 00059 typedef MimeMonitor CppObjectType; 00060 typedef MimeMonitor_Class CppClassType; 00061 typedef GnomeVFSMIMEMonitor BaseObjectType; 00062 typedef GnomeVFSMIMEMonitorClass BaseClassType; 00063 00064 private: friend class MimeMonitor_Class; 00065 static CppClassType mimemonitor_class_; 00066 00067 private: 00068 // noncopyable 00069 MimeMonitor(const MimeMonitor&); 00070 MimeMonitor& operator=(const MimeMonitor&); 00071 00072 protected: 00073 explicit MimeMonitor(const Glib::ConstructParams& construct_params); 00074 explicit MimeMonitor(GnomeVFSMIMEMonitor* castitem); 00075 00076 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00077 00078 public: 00079 virtual ~MimeMonitor(); 00080 00081 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00082 static GType get_type() G_GNUC_CONST; 00083 static GType get_base_type() G_GNUC_CONST; 00084 #endif 00085 00087 GnomeVFSMIMEMonitor* gobj() { return reinterpret_cast<GnomeVFSMIMEMonitor*>(gobject_); } 00088 00090 const GnomeVFSMIMEMonitor* gobj() const { return reinterpret_cast<GnomeVFSMIMEMonitor*>(gobject_); } 00091 00093 GnomeVFSMIMEMonitor* gobj_copy(); 00094 00095 private: 00096 00097 //TODO: Remove this and remove the #include when the struct declaration is fixed in gnome-vfs. 00098 public: 00099 00103 static Glib::RefPtr<MimeMonitor> get(); 00104 00105 00111 Glib::SignalProxy0< void > signal_data_changed(); 00112 00113 00114 public: 00115 00116 public: 00117 //C++ methods used to invoke GTK+ virtual functions: 00118 #ifdef GLIBMM_VFUNCS_ENABLED 00119 #endif //GLIBMM_VFUNCS_ENABLED 00120 00121 protected: 00122 //GTK+ Virtual Functions (override these to change behaviour): 00123 #ifdef GLIBMM_VFUNCS_ENABLED 00124 #endif //GLIBMM_VFUNCS_ENABLED 00125 00126 //Default Signal Handlers:: 00127 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00128 virtual void on_data_changed(); 00129 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00130 00131 00132 }; 00133 00134 } // namespace Vfs 00135 } // namespace Gnome 00136 00137 00138 namespace Glib 00139 { 00148 Glib::RefPtr<Gnome::Vfs::MimeMonitor> wrap(GnomeVFSMIMEMonitor* object, bool take_copy = false); 00149 } 00150 00151 00152 #endif /* _LIBGNOMEVFSMM_MIME_MONITOR_H */ 00153