dsnspec.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEDBMM_DSNSPEC_H
00004 #define _LIBGNOMEDBMM_DSNSPEC_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // 
00010 
00011 /* dsnspec.hg
00012  * 
00013  * Copyright 2006 libgnomedbmm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029  
00030 
00031 #include <gtkmm/box.h>
00032 
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GnomeDbDsnSpec GnomeDbDsnSpec;
00035 typedef struct _GnomeDbDsnSpecClass GnomeDbDsnSpecClass;
00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00037 
00038 
00039 namespace Gnome
00040 {
00041 
00042 namespace Db
00043 { class DsnSpec_Class; } // namespace Db
00044 
00045 } // namespace Gnome
00046 namespace Gnome
00047 {
00048 
00049 namespace Db
00050 {
00051 
00052 
00053 class DsnSpec : public Gtk::VBox
00054 {
00055   public:
00056 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00057   typedef DsnSpec CppObjectType;
00058   typedef DsnSpec_Class CppClassType;
00059   typedef GnomeDbDsnSpec BaseObjectType;
00060   typedef GnomeDbDsnSpecClass BaseClassType;
00061 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00062 
00063   virtual ~DsnSpec();
00064 
00065 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00066 
00067 private:
00068   friend class DsnSpec_Class;
00069   static CppClassType dsnspec_class_;
00070 
00071   // noncopyable
00072   DsnSpec(const DsnSpec&);
00073   DsnSpec& operator=(const DsnSpec&);
00074 
00075 protected:
00076   explicit DsnSpec(const Glib::ConstructParams& construct_params);
00077   explicit DsnSpec(GnomeDbDsnSpec* castitem);
00078 
00079 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00080 
00081 public:
00082 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00083   static GType get_type()      G_GNUC_CONST;
00084   static GType get_base_type() G_GNUC_CONST;
00085 #endif
00086 
00088   GnomeDbDsnSpec*       gobj()       { return reinterpret_cast<GnomeDbDsnSpec*>(gobject_); }
00089 
00091   const GnomeDbDsnSpec* gobj() const { return reinterpret_cast<GnomeDbDsnSpec*>(gobject_); }
00092 
00093 
00094 public:
00095   //C++ methods used to invoke GTK+ virtual functions:
00096 #ifdef GLIBMM_VFUNCS_ENABLED
00097 #endif //GLIBMM_VFUNCS_ENABLED
00098 
00099 protected:
00100   //GTK+ Virtual Functions (override these to change behaviour):
00101 #ifdef GLIBMM_VFUNCS_ENABLED
00102 #endif //GLIBMM_VFUNCS_ENABLED
00103 
00104   //Default Signal Handlers::
00105 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00106   virtual void on_changed();
00107 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00108 
00109 
00110 private:
00111 
00112   
00113   public:
00114     explicit DsnSpec(const Glib::ustring& provider);
00115     
00116     
00122   void set_provider(const Glib::ustring& provider);
00123 
00124     
00129   Glib::ustring get_specs() const;
00130     
00133   void set_specs(const Glib::ustring& dsn);
00134 
00135     #ifdef GLIBMM_PROPERTIES_ENABLED
00136 
00142   Glib::PropertyProxy<Glib::ustring> property_provider() ;
00143 #endif //#GLIBMM_PROPERTIES_ENABLED
00144 
00145 #ifdef GLIBMM_PROPERTIES_ENABLED
00146 
00152   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_provider() const;
00153 #endif //#GLIBMM_PROPERTIES_ENABLED
00154 
00155 
00161   Glib::SignalProxy0< void > signal_changed();
00162 
00163 
00164 };
00165 
00166 } // namespace Db
00167 
00168 } // namespace Gnome
00169 
00170 
00171 namespace Glib
00172 {
00178   Gnome::Db::DsnSpec* wrap(GnomeDbDsnSpec* object, bool take_copy = false);
00179 } //namespace Glib
00180 
00181 
00182 #endif /* _LIBGNOMEDBMM_DSNSPEC_H */
00183 

Generated on Mon Feb 12 16:48:59 2007 for libgnomedbmm by  doxygen 1.4.7