queryobject.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_QUERYOBJECT_H
00004 #define _LIBGDAMM_QUERYOBJECT_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* queryobject.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/object.h>
00031 #include <libgdamm/object.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GdaQueryObject GdaQueryObject;
00036 typedef struct _GdaQueryObjectClass GdaQueryObjectClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gnome
00041 {
00042 
00043 namespace Gda
00044 { class QueryObject_Class; } // namespace Gda
00045 
00046 } // namespace Gnome
00047 namespace Gnome
00048 {
00049 
00050 namespace Gda
00051 {
00052 
00061 class QueryObject
00062  : public Object
00063 {
00064   
00065 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00066 
00067 public:
00068   typedef QueryObject CppObjectType;
00069   typedef QueryObject_Class CppClassType;
00070   typedef GdaQueryObject BaseObjectType;
00071   typedef GdaQueryObjectClass BaseClassType;
00072 
00073 private:  friend class QueryObject_Class;
00074   static CppClassType queryobject_class_;
00075 
00076 private:
00077   // noncopyable
00078   QueryObject(const QueryObject&);
00079   QueryObject& operator=(const QueryObject&);
00080 
00081 protected:
00082   explicit QueryObject(const Glib::ConstructParams& construct_params);
00083   explicit QueryObject(GdaQueryObject* castitem);
00084 
00085 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00086 
00087 public:
00088   virtual ~QueryObject();
00089 
00090 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00091   static GType get_type()      G_GNUC_CONST;
00092   static GType get_base_type() G_GNUC_CONST;
00093 #endif
00094 
00096   GdaQueryObject*       gobj()       { return reinterpret_cast<GdaQueryObject*>(gobject_); }
00097 
00099   const GdaQueryObject* gobj() const { return reinterpret_cast<GdaQueryObject*>(gobject_); }
00100 
00102   GdaQueryObject* gobj_copy();
00103 
00104 private:
00105 
00106 public:
00107   // TODO: gmmproc does not get unsigned int correctly
00108    
00109 
00110 //TODO: Maybe libgda should use just "numid", "num_id", or "int_id" everywhere:
00111   
00115   void set_int_id(int id);
00116   
00121   int get_int_id() const;
00122 
00123   
00129   Glib::SignalProxy0< void > signal_numid_changed();
00130 
00131 
00132 public:
00133 
00134 public:
00135   //C++ methods used to invoke GTK+ virtual functions:
00136 #ifdef GLIBMM_VFUNCS_ENABLED
00137 #endif //GLIBMM_VFUNCS_ENABLED
00138 
00139 protected:
00140   //GTK+ Virtual Functions (override these to change behaviour):
00141 #ifdef GLIBMM_VFUNCS_ENABLED
00142 #endif //GLIBMM_VFUNCS_ENABLED
00143 
00144   //Default Signal Handlers::
00145 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00146   virtual void on_numid_changed();
00147 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00148 
00149 
00150 };
00151 
00152 } // namespace Gda
00153 } // namespace Gnome
00154 
00155 
00156 namespace Glib
00157 {
00163   Glib::RefPtr<Gnome::Gda::QueryObject> wrap(GdaQueryObject* object, bool take_copy = false);
00164 }
00165 
00166 
00167 #endif /* _LIBGDAMM_QUERYOBJECT_H */
00168 

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