login.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEDBMM_LOGIN_H
00004 #define _LIBGNOMEDBMM_LOGIN_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // 
00010 
00011 /* login.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 _GnomeDbLogin GnomeDbLogin;
00035 typedef struct _GnomeDbLoginClass GnomeDbLoginClass;
00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00037 
00038 
00039 namespace Gnome
00040 {
00041 
00042 namespace Db
00043 { class Login_Class; } // namespace Db
00044 
00045 } // namespace Gnome
00046 namespace Gnome
00047 {
00048 
00049 namespace Db
00050 {
00051 
00052 
00053 class Login : public Gtk::VBox
00054 {
00055   public:
00056 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00057   typedef Login CppObjectType;
00058   typedef Login_Class CppClassType;
00059   typedef GnomeDbLogin BaseObjectType;
00060   typedef GnomeDbLoginClass BaseClassType;
00061 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00062 
00063   virtual ~Login();
00064 
00065 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00066 
00067 private:
00068   friend class Login_Class;
00069   static CppClassType login_class_;
00070 
00071   // noncopyable
00072   Login(const Login&);
00073   Login& operator=(const Login&);
00074 
00075 protected:
00076   explicit Login(const Glib::ConstructParams& construct_params);
00077   explicit Login(GnomeDbLogin* 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   GnomeDbLogin*       gobj()       { return reinterpret_cast<GnomeDbLogin*>(gobject_); }
00089 
00091   const GnomeDbLogin* gobj() const { return reinterpret_cast<GnomeDbLogin*>(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     Login();
00114     
00115     
00118   Glib::ustring get_dsn() const;
00119     
00123   void set_dsn(const Glib::ustring& dsn);
00124 
00125     
00129   Glib::ustring get_username() const;
00130     
00134   void set_username(const Glib::ustring& username);
00135     
00136     
00139   Glib::ustring get_password() const;
00140     
00144   void set_password(const Glib::ustring& password);
00145     
00146     
00152   void set_enable_create_button(bool enable = true);
00153     
00158   bool get_enable_create_button() const;
00159     
00160     
00163   void set_show_dsn_selector(bool enable = true);
00164     
00169   bool get_show_dsn_selector() const;
00170     
00171     #ifdef GLIBMM_PROPERTIES_ENABLED
00172 
00178   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_dsn() const;
00179 #endif //#GLIBMM_PROPERTIES_ENABLED
00180 
00181 
00182     #ifdef GLIBMM_PROPERTIES_ENABLED
00183 
00189   Glib::PropertyProxy<bool> property_hiding_button() ;
00190 #endif //#GLIBMM_PROPERTIES_ENABLED
00191 
00192 #ifdef GLIBMM_PROPERTIES_ENABLED
00193 
00199   Glib::PropertyProxy_ReadOnly<bool> property_hiding_button() const;
00200 #endif //#GLIBMM_PROPERTIES_ENABLED
00201 
00202     #ifdef GLIBMM_PROPERTIES_ENABLED
00203 
00209   Glib::PropertyProxy<bool> property_hiding_dsn() ;
00210 #endif //#GLIBMM_PROPERTIES_ENABLED
00211 
00212 #ifdef GLIBMM_PROPERTIES_ENABLED
00213 
00219   Glib::PropertyProxy_ReadOnly<bool> property_hiding_dsn() const;
00220 #endif //#GLIBMM_PROPERTIES_ENABLED
00221 
00222     #ifdef GLIBMM_PROPERTIES_ENABLED
00223 
00229   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_username() const;
00230 #endif //#GLIBMM_PROPERTIES_ENABLED
00231 
00232 
00233     #ifdef GLIBMM_PROPERTIES_ENABLED
00234 
00240   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_password() const;
00241 #endif //#GLIBMM_PROPERTIES_ENABLED
00242 
00243 
00244 };
00245 
00246 } // namespace Db
00247 
00248 } // namespace Gnome
00249 
00250 
00251 namespace Glib
00252 {
00258   Gnome::Db::Login* wrap(GnomeDbLogin* object, bool take_copy = false);
00259 } //namespace Glib
00260 
00261 
00262 #endif /* _LIBGNOMEDBMM_LOGIN_H */
00263 

Generated on Mon Feb 12 16:49:00 2007 for libgnomedbmm by  doxygen 1.4.7