serveroperation.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_SERVEROPERATION_H
00004 #define _LIBGDAMM_SERVEROPERATION_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: serveroperation.hg,v 1.2 2006/11/08 00:52:25 murrayc Exp $ */
00010 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00011 
00012 /* serveroperation.h
00013  *
00014  * Copyright 2001      Free Software Foundation
00015  *
00016  * This library is free software; you can redistribute it and/or
00017  * modify it under the terms of the GNU Library General Public
00018  * License as published by the Free Software Foundation; either
00019  * version 2 of the License, or (at your option) any later version.
00020  *
00021  * This library is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00024  * Library General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU Library General Public
00027  * License along with this library; if not, write to the Free
00028  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00029  */
00030 
00031 //#include <libgdamm/connection.h>
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 /* DOXYGEN_SHOULD_SKIP_THIS */
00042 
00043 
00044 namespace Gnome
00045 {
00046 
00047 namespace Gda
00048 { class ServerOperation_Class; } // namespace Gda
00049 
00050 } // namespace Gnome
00051 namespace Gnome
00052 {
00053 
00054 namespace Gda
00055 {
00056 
00057 
00058 class Connection;
00059 
00060 //_WRAP_ENUM(ClientSpecsType, GdaClientSpecsType)
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 } // namespace Gda
00078 
00079 } // namespace Gnome
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 } // namespace Glib
00094 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
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   // noncopyable
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 /* DOXYGEN_SHOULD_SKIP_THIS */
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 //TODO ?:
00154   //_WRAP_METHOD(ServerOperationNodeType get_node_type(const Glib::ustring& path) const, gda_server_operation_get_node_type)
00155 //_WRAP_METHOD(ServerOperationNodeType get_node_type_v(const Glib::ustring& *path_array),  gda_server_operation_get_node_type_v)
00156 
00157   //_WRAP_METHOD(GdaParameterList* get_node_parameter_list(const Glib::ustring& path) const, gda_server_operation_get_node_plist)
00158   //_WRAP_METHOD(GdaParameterList *gda_server_operation_get_node_plist_v(const Glib::ustring& *path_array);
00159 
00160   //_WRAP_METHOD(GdaParameter* get_node_param(const Glib::ustring& path) const, gda_server_operation_get_node_param)
00161   //_WRAP_METHOD(GdaParameter* gda_server_operation_get_node_param_v(const Glib::ustring& *path_array), gda_server_operation_get_node_param_v)
00162 
00163   //_WRAP_METHOD(GdaDataModel* get_node_datamodel(const Glib::ustring& path) const, gda_server_operation_get_node_datamodel, refreturn)
00164   //_WRAP_METHOD(GdaDataModel* get_node_datamodel_v(const Glib::ustring& *path_array), gda_server_operation_get_node_datamodel_v, refreturn)
00165 
00166   //_WRAP_METHOD(int get_node_seq_size(const Glib::ustring& path) const, gda_server_operation_get_node_seq_size)
00167   //_WRAP_METHOD(int get_node_seq_size_v(const Glib::ustring& path_array) const, gda_server_operation_get_node_seq_size_v)
00168 
00169 
00170  //TODO: vfuncs.
00171 
00172 
00173 public:
00174 
00175 public:
00176   //C++ methods used to invoke GTK+ virtual functions:
00177 #ifdef GLIBMM_VFUNCS_ENABLED
00178 #endif //GLIBMM_VFUNCS_ENABLED
00179 
00180 protected:
00181   //GTK+ Virtual Functions (override these to change behaviour):
00182 #ifdef GLIBMM_VFUNCS_ENABLED
00183 #endif //GLIBMM_VFUNCS_ENABLED
00184 
00185   //Default Signal Handlers::
00186 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00187 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00188 
00189 
00190 };
00191 
00192 } // namespace Gda
00193 } // namespace Gnome
00194 
00195 
00196 namespace Glib
00197 {
00203   Glib::RefPtr<Gnome::Gda::ServerOperation> wrap(GdaServerOperation* object, bool take_copy = false);
00204 }
00205 
00206 
00207 #endif /* _LIBGDAMM_SERVEROPERATION_H */
00208 

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