referer.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_REFERER_H
00004 #define _LIBGDAMM_REFERER_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* referer.h
00012  *
00013  * Copyright 2003 libgdamm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029 
00030 #include <glibmm/interface.h>
00031 #include <libgda/gda-referer.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GdaReferer GdaReferer;
00036 typedef struct _GdaRefererClass GdaRefererClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gnome
00041 {
00042 
00043 namespace Gda
00044 { class Referer_Class; } // namespace Gda
00045 
00046 } // namespace Gnome
00047 namespace Gnome
00048 {
00049 
00050 namespace Gda
00051 {
00052 
00056 class Referer : public Glib::Interface
00057 {
00058   
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060 
00061 public:
00062   typedef Referer CppObjectType;
00063   typedef Referer_Class CppClassType;
00064   typedef GdaReferer BaseObjectType;
00065   typedef GdaRefererIface BaseClassType;
00066 
00067 private:
00068   friend class Referer_Class;
00069   static CppClassType referer_class_;
00070 
00071   // noncopyable
00072   Referer(const Referer&);
00073   Referer& operator=(const Referer&);
00074 
00075 protected:
00076   Referer(); // you must derive from this class
00077   explicit Referer(GdaReferer* castitem);
00078 
00079 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00080 
00081 public:
00082   virtual ~Referer();
00083 
00084   static void add_interface(GType gtype_implementer);
00085 
00086 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00087   static GType get_type()      G_GNUC_CONST;
00088   static GType get_base_type() G_GNUC_CONST;
00089 #endif
00090 
00092   GdaReferer*       gobj()       { return reinterpret_cast<GdaReferer*>(gobject_); }
00093 
00095   const GdaReferer* gobj() const { return reinterpret_cast<GdaReferer*>(gobject_); }
00096 
00097 private:
00098 
00099 public:
00100 
00101   
00105   bool activate();
00106   
00110   void deactivate();
00111   
00115   bool is_active() const;
00116 
00117   // TODO: Find out what the purpose of gda_referer_get_ref_objects and
00118   // gda_referer_replace_refs are for and wrap them appropriately.
00119   
00120   //gtkmmproc error: activated :  signal defs lookup failed
00121   //gtkmmproc error: deactivated :  signal defs lookup failed
00122 
00123 
00124 public:
00125 
00126 public:
00127   //C++ methods used to invoke GTK+ virtual functions:
00128 #ifdef GLIBMM_VFUNCS_ENABLED
00129 #endif //GLIBMM_VFUNCS_ENABLED
00130 
00131 protected:
00132   //GTK+ Virtual Functions (override these to change behaviour):
00133 #ifdef GLIBMM_VFUNCS_ENABLED
00134 #endif //GLIBMM_VFUNCS_ENABLED
00135 
00136   //Default Signal Handlers::
00137 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00138 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00139 
00140 
00141 };
00142 
00143 } // namespace Gda
00144 } // namespace Gnome
00145 
00146 
00147 namespace Glib
00148 {
00154   Glib::RefPtr<Gnome::Gda::Referer> wrap(GdaReferer* object, bool take_copy = false);
00155 
00156 } // namespace Glib
00157 
00158 
00159 #endif /* _LIBGDAMM_REFERER_H */
00160 

Generated on Sat Feb 10 20:06:26 2007 for libgdamm by  doxygen 1.4.7