00001
00002
00003 #ifndef _LIBGDAMM_HANDLERTYPE_H
00004 #define _LIBGDAMM_HANDLERTYPE_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 <libgdamm/object.h>
00031 #include <libgdamm/datahandler.h>
00032 #include <libgda/handlers/gda-handler-type.h>
00033
00034
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GdaHandlerType GdaHandlerType;
00037 typedef struct _GdaHandlerTypeClass GdaHandlerTypeClass;
00038 #endif
00039
00040
00041 namespace Gnome
00042 {
00043
00044 namespace Gda
00045 { class HandlerType_Class; }
00046
00047 }
00048 namespace Gnome
00049 {
00050
00051 namespace Gda
00052 {
00053
00059 class HandlerType : public Object,
00060 public DataHandler
00061 {
00062
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064
00065 public:
00066 typedef HandlerType CppObjectType;
00067 typedef HandlerType_Class CppClassType;
00068 typedef GdaHandlerType BaseObjectType;
00069 typedef GdaHandlerTypeClass BaseClassType;
00070
00071 private: friend class HandlerType_Class;
00072 static CppClassType handlertype_class_;
00073
00074 private:
00075
00076 HandlerType(const HandlerType&);
00077 HandlerType& operator=(const HandlerType&);
00078
00079 protected:
00080 explicit HandlerType(const Glib::ConstructParams& construct_params);
00081 explicit HandlerType(GdaHandlerType* castitem);
00082
00083 #endif
00084
00085 public:
00086 virtual ~HandlerType();
00087
00088 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00089 static GType get_type() G_GNUC_CONST;
00090 static GType get_base_type() G_GNUC_CONST;
00091 #endif
00092
00094 GdaHandlerType* gobj() { return reinterpret_cast<GdaHandlerType*>(gobject_); }
00095
00097 const GdaHandlerType* gobj() const { return reinterpret_cast<GdaHandlerType*>(gobject_); }
00098
00100 GdaHandlerType* gobj_copy();
00101
00102 private:
00103
00104
00105 protected:
00106
00107 HandlerType();
00108
00109 public:
00110
00111 static Glib::RefPtr<HandlerType> create();
00112
00113
00114 public:
00115
00116 public:
00117
00118 #ifdef GLIBMM_VFUNCS_ENABLED
00119 #endif //GLIBMM_VFUNCS_ENABLED
00120
00121 protected:
00122
00123 #ifdef GLIBMM_VFUNCS_ENABLED
00124 #endif //GLIBMM_VFUNCS_ENABLED
00125
00126
00127 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00128 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00129
00130
00131 };
00132
00133 }
00134 }
00135
00136
00137 namespace Glib
00138 {
00144 Glib::RefPtr<Gnome::Gda::HandlerType> wrap(GdaHandlerType* object, bool take_copy = false);
00145 }
00146
00147
00148 #endif
00149