handlerbin.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_HANDLERBIN_H
00004 #define _LIBGDAMM_HANDLERBIN_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* handlerbin.h
00012  *
00013  * Copyright 2006 libgdamm 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 #include <libgdamm/object.h>
00031 #include <libgdamm/datahandler.h>
00032 #include <libgda/handlers/gda-handler-bin.h>
00033 
00034 
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _GdaHandlerBin GdaHandlerBin;
00037 typedef struct _GdaHandlerBinClass GdaHandlerBinClass;
00038 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00039 
00040 
00041 namespace Gnome
00042 {
00043 
00044 namespace Gda
00045 { class HandlerBin_Class; } // namespace Gda
00046 
00047 } // namespace Gnome
00048 namespace Gnome
00049 {
00050 
00051 namespace Gda
00052 {
00053 
00059 class HandlerBin : public Object,
00060                    public DataHandler
00061 {
00062   
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064 
00065 public:
00066   typedef HandlerBin CppObjectType;
00067   typedef HandlerBin_Class CppClassType;
00068   typedef GdaHandlerBin BaseObjectType;
00069   typedef GdaHandlerBinClass BaseClassType;
00070 
00071 private:  friend class HandlerBin_Class;
00072   static CppClassType handlerbin_class_;
00073 
00074 private:
00075   // noncopyable
00076   HandlerBin(const HandlerBin&);
00077   HandlerBin& operator=(const HandlerBin&);
00078 
00079 protected:
00080   explicit HandlerBin(const Glib::ConstructParams& construct_params);
00081   explicit HandlerBin(GdaHandlerBin* castitem);
00082 
00083 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00084 
00085 public:
00086   virtual ~HandlerBin();
00087 
00088 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00089   static GType get_type()      G_GNUC_CONST;
00090   static GType get_base_type() G_GNUC_CONST;
00091 #endif
00092 
00094   GdaHandlerBin*       gobj()       { return reinterpret_cast<GdaHandlerBin*>(gobject_); }
00095 
00097   const GdaHandlerBin* gobj() const { return reinterpret_cast<GdaHandlerBin*>(gobject_); }
00098 
00100   GdaHandlerBin* gobj_copy();
00101 
00102 private:
00103 
00104   
00105 protected:
00106 
00107   // TODO: We cannot wrap gda_handler_bin_new_with_prov because this sets some
00108   // private fields. I guess these should be properties in libgnomedb. armin.
00109   //   Maybe that is fixed now. murrayc.
00110  HandlerBin();
00111 
00112 public:
00113   
00114   static Glib::RefPtr<HandlerBin> create();
00115 
00116 
00117 public:
00118 
00119 public:
00120   //C++ methods used to invoke GTK+ virtual functions:
00121 #ifdef GLIBMM_VFUNCS_ENABLED
00122 #endif //GLIBMM_VFUNCS_ENABLED
00123 
00124 protected:
00125   //GTK+ Virtual Functions (override these to change behaviour):
00126 #ifdef GLIBMM_VFUNCS_ENABLED
00127 #endif //GLIBMM_VFUNCS_ENABLED
00128 
00129   //Default Signal Handlers::
00130 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00131 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00132 
00133 
00134 };
00135 
00136 } // namespace Gda
00137 } // namespace Gnome
00138 
00139 
00140 namespace Glib
00141 {
00147   Glib::RefPtr<Gnome::Gda::HandlerBin> wrap(GdaHandlerBin* object, bool take_copy = false);
00148 }
00149 
00150 
00151 #endif /* _LIBGDAMM_HANDLERBIN_H */
00152 

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