providerinfo.h
Go to the documentation of this file.00001
00002
00003 #ifndef _LIBGDAMM_PROVIDERINFO_H
00004 #define _LIBGDAMM_PROVIDERINFO_H
00005
00006 #include <glibmm.h>
00007
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 <libgda/gda-config.h>
00032
00033
00034 namespace Gnome
00035 {
00036
00037 namespace Gda
00038 {
00039
00040 class ProviderInfo
00041 {
00042 public:
00043 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00044 typedef ProviderInfo CppObjectType;
00045 typedef GdaProviderInfo BaseObjectType;
00046 #endif
00047
00048 ProviderInfo();
00049
00050
00051 explicit ProviderInfo(GdaProviderInfo* castitem, bool make_a_copy = false);
00052
00053 ProviderInfo(const ProviderInfo& src);
00054 ProviderInfo& operator=(const ProviderInfo& src);
00055
00056 ~ProviderInfo();
00057
00058 GdaProviderInfo* gobj() { return gobject_; }
00059 const GdaProviderInfo* gobj() const { return gobject_; }
00060
00062 GdaProviderInfo* gobj_copy() const;
00063
00064 protected:
00065 GdaProviderInfo* gobject_;
00066
00067 private:
00068
00069 public:
00070
00071 Glib::ustring get_id() const;
00072 Glib::ustring get_location() const;
00073 Glib::ustring get_description() const;
00074
00075 Glib::ListHandle<Glib::ustring> get_gda_params() const;
00076
00077
00078 };
00079
00080 }
00081 }
00082
00083
00084 namespace Glib
00085 {
00086
00092 Gnome::Gda::ProviderInfo wrap(GdaProviderInfo* object, bool take_copy = false);
00093
00094 }
00095
00096 #endif
00097