libgnomecanvasmm
|
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMECANVASMM_BPATH_H 00004 #define _LIBGNOMECANVASMM_BPATH_H 00005 00006 00007 #include <glibmm.h> 00008 00009 /* $Id: bpath.hg,v 1.7 2005/12/21 08:27:11 murrayc Exp $ */ 00010 00011 /* bpath.h 00012 * 00013 * 00014 * Copyright (C) 2002 The libgnomecanvasmm Development Team 00015 * 00016 * This library is free software; you can redistribute it and/or 00017 * modify it under the terms of the GNU Lesser General Public 00018 * License as published by the Free Software Foundation; either 00019 * version 2.1 of the License, or (at your option) any later version. 00020 * 00021 * This library is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00024 * Lesser General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU Lesser General Public 00027 * License along with this library; if not, write to the Free 00028 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00029 */ 00030 00031 #include <libgnomecanvasmm/shape.h> 00032 #include <libgnomecanvasmm/path-def.h> 00033 #include <libgnomecanvas/gnome-canvas-bpath.h> 00034 00035 00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00037 typedef struct _GnomeCanvasBpath GnomeCanvasBpath; 00038 typedef struct _GnomeCanvasBpathClass GnomeCanvasBpathClass; 00039 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00040 00041 00042 namespace Gnome 00043 { 00044 00045 namespace Canvas 00046 { class Bpath_Class; } // namespace Canvas 00047 00048 } // namespace Gnome 00049 namespace Gnome 00050 { 00051 00052 namespace Canvas 00053 { 00054 00055 00056 class Bpath : public Shape 00057 { 00058 public: 00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00060 typedef Bpath CppObjectType; 00061 typedef Bpath_Class CppClassType; 00062 typedef GnomeCanvasBpath BaseObjectType; 00063 typedef GnomeCanvasBpathClass BaseClassType; 00064 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00065 00066 virtual ~Bpath(); 00067 00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00069 00070 private: 00071 friend class Bpath_Class; 00072 static CppClassType bpath_class_; 00073 00074 // noncopyable 00075 Bpath(const Bpath&); 00076 Bpath& operator=(const Bpath&); 00077 00078 protected: 00079 explicit Bpath(const Glib::ConstructParams& construct_params); 00080 explicit Bpath(GnomeCanvasBpath* castitem); 00081 00082 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00083 00084 public: 00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00086 static GType get_type() G_GNUC_CONST; 00087 static GType get_base_type() G_GNUC_CONST; 00088 #endif 00089 00091 GnomeCanvasBpath* gobj() { return reinterpret_cast<GnomeCanvasBpath*>(gobject_); } 00092 00094 const GnomeCanvasBpath* gobj() const { return reinterpret_cast<GnomeCanvasBpath*>(gobject_); } 00095 00096 00097 public: 00098 //C++ methods used to invoke GTK+ virtual functions: 00099 #ifdef GLIBMM_VFUNCS_ENABLED 00100 #endif //GLIBMM_VFUNCS_ENABLED 00101 00102 protected: 00103 //GTK+ Virtual Functions (override these to change behaviour): 00104 #ifdef GLIBMM_VFUNCS_ENABLED 00105 #endif //GLIBMM_VFUNCS_ENABLED 00106 00107 //Default Signal Handlers:: 00108 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00109 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00110 00111 00112 private: 00113 00114 public: 00115 explicit Bpath(Group& parent); 00116 00117 //TODO: Use Glib::RefPtr<PathDef> when we can break ABI: 00118 #ifdef GLIBMM_PROPERTIES_ENABLED 00119 00125 Glib::PropertyProxy<GnomeCanvasPathDef*> property_bpath() ; 00126 #endif //#GLIBMM_PROPERTIES_ENABLED 00127 00128 #ifdef GLIBMM_PROPERTIES_ENABLED 00129 00135 Glib::PropertyProxy_ReadOnly<GnomeCanvasPathDef*> property_bpath() const; 00136 #endif //#GLIBMM_PROPERTIES_ENABLED 00137 00138 00139 void set_bpath(const Glib::RefPtr<PathDef>& path); 00140 00141 00142 }; 00143 00144 } /* namespace Canvas */ 00145 00146 } /* namespace Gnome */ 00147 00148 00149 namespace Glib 00150 { 00159 Gnome::Canvas::Bpath* wrap(GnomeCanvasBpath* object, bool take_copy = false); 00160 } //namespace Glib 00161 00162 00163 #endif /* _LIBGNOMECANVASMM_BPATH_H */ 00164