datasourceselector.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEDBMM_DATASOURCESELECTOR_H
00004 #define _LIBGNOMEDBMM_DATASOURCESELECTOR_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // 
00010 
00011 /* providerselector.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/combobox.h>
00032 
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GnomeDbDataSourceSelector GnomeDbDataSourceSelector;
00035 typedef struct _GnomeDbDataSourceSelectorClass GnomeDbDataSourceSelectorClass;
00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00037 
00038 
00039 namespace Gnome
00040 {
00041 
00042 namespace Db
00043 { class DataSourceSelector_Class; } // namespace Db
00044 
00045 } // namespace Gnome
00046 namespace Gnome
00047 {
00048 
00049 namespace Db
00050 {
00051 
00052 
00053 class DataSourceSelector : public Gtk::ComboBox
00054 {
00055   public:
00056 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00057   typedef DataSourceSelector CppObjectType;
00058   typedef DataSourceSelector_Class CppClassType;
00059   typedef GnomeDbDataSourceSelector BaseObjectType;
00060   typedef GnomeDbDataSourceSelectorClass BaseClassType;
00061 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00062 
00063   virtual ~DataSourceSelector();
00064 
00065 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00066 
00067 private:
00068   friend class DataSourceSelector_Class;
00069   static CppClassType datasourceselector_class_;
00070 
00071   // noncopyable
00072   DataSourceSelector(const DataSourceSelector&);
00073   DataSourceSelector& operator=(const DataSourceSelector&);
00074 
00075 protected:
00076   explicit DataSourceSelector(const Glib::ConstructParams& construct_params);
00077   explicit DataSourceSelector(GnomeDbDataSourceSelector* 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   GnomeDbDataSourceSelector*       gobj()       { return reinterpret_cast<GnomeDbDataSourceSelector*>(gobject_); }
00089 
00091   const GnomeDbDataSourceSelector* gobj() const { return reinterpret_cast<GnomeDbDataSourceSelector*>(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 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00107 
00108 
00109 private:
00110 
00111  
00112   public:
00113     explicit DataSourceSelector(const Glib::ustring& name);
00114 
00115     
00119   Glib::ustring get_dsn() const;
00120     
00123   void set_dsn(const Glib::ustring& dsn);
00124 
00125     #ifdef GLIBMM_PROPERTIES_ENABLED
00126 
00132   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_source_name() const;
00133 #endif //#GLIBMM_PROPERTIES_ENABLED
00134 
00135 
00136 };
00137 
00138 } // namespace Db
00139 
00140 } // namespace Gnome
00141 
00142 
00143 namespace Glib
00144 {
00150   Gnome::Db::DataSourceSelector* wrap(GnomeDbDataSourceSelector* object, bool take_copy = false);
00151 } //namespace Glib
00152 
00153 
00154 #endif /* _LIBGNOMEDBMM_DATASOURCESELECTOR_H */
00155 

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