00001
00002
00003 #ifndef _LIBGDAMM_QUERYOBJECT_H
00004 #define _LIBGDAMM_QUERYOBJECT_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
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
00038
00039
00040 namespace Gnome
00041 {
00042
00043 namespace Gda
00044 { class QueryObject_Class; }
00045
00046 }
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
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
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
00108
00109
00110
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
00136 #ifdef GLIBMM_VFUNCS_ENABLED
00137 #endif //GLIBMM_VFUNCS_ENABLED
00138
00139 protected:
00140
00141 #ifdef GLIBMM_VFUNCS_ENABLED
00142 #endif //GLIBMM_VFUNCS_ENABLED
00143
00144
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 }
00153 }
00154
00155
00156 namespace Glib
00157 {
00163 Glib::RefPtr<Gnome::Gda::QueryObject> wrap(GdaQueryObject* object, bool take_copy = false);
00164 }
00165
00166
00167 #endif
00168