rawform.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEDBMM_RAWFORM_H
00004 #define _LIBGNOMEDBMM_RAWFORM_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // 
00010 
00011 /* rawform.h
00012  * 
00013  * Copyright 2006 libgnomedbmm 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 <libgdamm/datamodel.h>
00031 #include <libgnomedbmm/basicform.h>
00032 #include <libgnomedbmm/datawidget.h>
00033 
00034 
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GnomeDbRawForm GnomeDbRawForm;
00037 typedef struct _GnomeDbRawFormClass GnomeDbRawFormClass;
00038 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00039 
00040 
00041 namespace Gnome
00042 {
00043 
00044 namespace Db
00045 { class RawForm_Class; } // namespace Db
00046 
00047 } // namespace Gnome
00048 namespace Gnome
00049 {
00050 
00051 namespace Db
00052 {
00053 
00054 
00055 class RawForm : public BasicForm, public DataWidget
00056 {
00057   public:
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059   typedef RawForm CppObjectType;
00060   typedef RawForm_Class CppClassType;
00061   typedef GnomeDbRawForm BaseObjectType;
00062   typedef GnomeDbRawFormClass BaseClassType;
00063 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00064 
00065   virtual ~RawForm();
00066 
00067 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00068 
00069 private:
00070   friend class RawForm_Class;
00071   static CppClassType rawform_class_;
00072 
00073   // noncopyable
00074   RawForm(const RawForm&);
00075   RawForm& operator=(const RawForm&);
00076 
00077 protected:
00078   explicit RawForm(const Glib::ConstructParams& construct_params);
00079   explicit RawForm(GnomeDbRawForm* castitem);
00080 
00081 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00082 
00083 public:
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085   static GType get_type()      G_GNUC_CONST;
00086   static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088 
00090   GnomeDbRawForm*       gobj()       { return reinterpret_cast<GnomeDbRawForm*>(gobject_); }
00091 
00093   const GnomeDbRawForm* gobj() const { return reinterpret_cast<GnomeDbRawForm*>(gobject_); }
00094 
00095 
00096 public:
00097   //C++ methods used to invoke GTK+ virtual functions:
00098 #ifdef GLIBMM_VFUNCS_ENABLED
00099 #endif //GLIBMM_VFUNCS_ENABLED
00100 
00101 protected:
00102   //GTK+ Virtual Functions (override these to change behaviour):
00103 #ifdef GLIBMM_VFUNCS_ENABLED
00104 #endif //GLIBMM_VFUNCS_ENABLED
00105 
00106   //Default Signal Handlers::
00107 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00108 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00109 
00110 
00111 private:
00112 
00113 
00114 public:
00115   explicit RawForm(const Glib::RefPtr<Gda::DataModel>& model);
00116 
00117   #ifdef GLIBMM_PROPERTIES_ENABLED
00118 
00124   Glib::PropertyProxy< Glib::RefPtr<Gda::DataModel> > property_model() ;
00125 #endif //#GLIBMM_PROPERTIES_ENABLED
00126 
00127 #ifdef GLIBMM_PROPERTIES_ENABLED
00128 
00134   Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gda::DataModel> > property_model() const;
00135 #endif //#GLIBMM_PROPERTIES_ENABLED
00136 
00137 
00138 };
00139 
00140 } // namespace Db
00141 } // namespace Gnome
00142 
00143 
00144 namespace Glib
00145 {
00151   Gnome::Db::RawForm* wrap(GnomeDbRawForm* object, bool take_copy = false);
00152 } //namespace Glib
00153 
00154 
00155 #endif /* _LIBGNOMEDBMM_RAWFORM_H */
00156 

Generated on Mon Feb 12 16:49:00 2007 for libgnomedbmm by  doxygen 1.4.7