00001
00002
00003 #ifndef _LIBGDAMM_SERVEROPERATION_H
00004 #define _LIBGDAMM_SERVEROPERATION_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
00031
00032 #include <libgdamm/command.h>
00033 #include <libgdamm/datamodelindex.h>
00034 #include <libgdamm/client.h>
00035 #include <libgda/gda-server-provider.h>
00036
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GdaServerOperation GdaServerOperation;
00040 typedef struct _GdaServerOperationClass GdaServerOperationClass;
00041 #endif
00042
00043
00044 namespace Gnome
00045 {
00046
00047 namespace Gda
00048 { class ServerOperation_Class; }
00049
00050 }
00051 namespace Gnome
00052 {
00053
00054 namespace Gda
00055 {
00056
00057
00058 class Connection;
00059
00060
00066 enum ServerOperationNodeType
00067 {
00068 SERVER_OPERATION_NODE_PARAMLIST,
00069 SERVER_OPERATION_NODE_DATA_MODEL,
00070 SERVER_OPERATION_NODE_PARAM,
00071 SERVER_OPERATION_NODE_SEQUENCE,
00072 SERVER_OPERATION_NODE_SEQUENCE_ITEM,
00073 SERVER_OPERATION_NODE_DATA_MODEL_COLUMN,
00074 SERVER_OPERATION_NODE_UNKNOWN
00075 };
00076
00077 }
00078
00079 }
00080
00081
00082 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00083 namespace Glib
00084 {
00085
00086 template <>
00087 class Value<Gnome::Gda::ServerOperationNodeType> : public Glib::Value_Enum<Gnome::Gda::ServerOperationNodeType>
00088 {
00089 public:
00090 static GType value_type() G_GNUC_CONST;
00091 };
00092
00093 }
00094 #endif
00095
00096
00097 namespace Gnome
00098 {
00099
00100 namespace Gda
00101 {
00102
00103
00108 class ServerOperation : public Glib::Object
00109 {
00110
00111 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00112
00113 public:
00114 typedef ServerOperation CppObjectType;
00115 typedef ServerOperation_Class CppClassType;
00116 typedef GdaServerOperation BaseObjectType;
00117 typedef GdaServerOperationClass BaseClassType;
00118
00119 private: friend class ServerOperation_Class;
00120 static CppClassType serveroperation_class_;
00121
00122 private:
00123
00124 ServerOperation(const ServerOperation&);
00125 ServerOperation& operator=(const ServerOperation&);
00126
00127 protected:
00128 explicit ServerOperation(const Glib::ConstructParams& construct_params);
00129 explicit ServerOperation(GdaServerOperation* castitem);
00130
00131 #endif
00132
00133 public:
00134 virtual ~ServerOperation();
00135
00136 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00137 static GType get_type() G_GNUC_CONST;
00138 static GType get_base_type() G_GNUC_CONST;
00139 #endif
00140
00142 GdaServerOperation* gobj() { return reinterpret_cast<GdaServerOperation*>(gobject_); }
00143
00145 const GdaServerOperation* gobj() const { return reinterpret_cast<GdaServerOperation*>(gobject_); }
00146
00148 GdaServerOperation* gobj_copy();
00149
00150 private:
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173 public:
00174
00175 public:
00176
00177 #ifdef GLIBMM_VFUNCS_ENABLED
00178 #endif //GLIBMM_VFUNCS_ENABLED
00179
00180 protected:
00181
00182 #ifdef GLIBMM_VFUNCS_ENABLED
00183 #endif //GLIBMM_VFUNCS_ENABLED
00184
00185
00186 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00187 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00188
00189
00190 };
00191
00192 }
00193 }
00194
00195
00196 namespace Glib
00197 {
00203 Glib::RefPtr<Gnome::Gda::ServerOperation> wrap(GdaServerOperation* object, bool take_copy = false);
00204 }
00205
00206
00207 #endif
00208