linedash.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GOOCANVASMM_LINEDASH_H
00004 #define _GOOCANVASMM_LINEDASH_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* Copyright (C) 1998-2006 The gtkmm Development Team
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library General Public
00022  * License along with this library; if not, write to the Free
00023  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024  */
00025 
00026 #include <glibmm/object.h>
00027 #include <goocanvasutils.h>
00028 
00029 
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 extern "C" { typedef struct _GooCanvasLineDash GooCanvasLineDash; }
00032 #endif
00033 
00034 namespace Goocanvas
00035 {
00036 
00037 class LineDash : public Glib::Object
00038 {
00039   public:
00040 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00041   typedef LineDash CppObjectType;
00042   typedef GooCanvasLineDash BaseObjectType;
00043 
00044   static GType get_type() G_GNUC_CONST;
00045 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00046 
00047   LineDash();
00048 
00049   explicit LineDash(GooCanvasLineDash* gobject, bool make_a_copy = true);
00050 
00051   LineDash(const LineDash& other);
00052   LineDash& operator=(const LineDash& other);
00053 
00054   ~LineDash();
00055 
00056   void swap(LineDash& other);
00057 
00059   GooCanvasLineDash*       gobj()       { return gobject_; }
00060 
00062   const GooCanvasLineDash* gobj() const { return gobject_; }
00063 
00065   GooCanvasLineDash* gobj_copy() const;
00066 
00067 protected:
00068   GooCanvasLineDash* gobject_;
00069 
00070 private:
00071 
00072   
00073 public:
00074 
00075 //TODO: Wrap
00076 //GooCanvasLineDash* goo_canvas_line_dash_newv  (gint               num_dashes,
00077 //                                               double            *dashes);
00078   
00079 
00080 };
00081 
00082 }
00083 
00084 
00085 namespace Goocanvas
00086 {
00087 
00092 inline void swap(LineDash& lhs, LineDash& rhs)
00093   { lhs.swap(rhs); }
00094 
00095 } // namespace Goocanvas
00096 
00097 namespace Glib
00098 {
00099 
00108 Goocanvas::LineDash wrap(GooCanvasLineDash* object, bool take_copy = false);
00109 
00110 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00111 template <>
00112 class Value<Goocanvas::LineDash> : public Glib::Value_Boxed<Goocanvas::LineDash>
00113 {};
00114 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00115 
00116 } // namespace Glib
00117 
00118 
00119 #endif /* _GOOCANVASMM_LINEDASH_H */
00120 

Generated on Thu Nov 29 16:47:20 2007 for goocanvasmm by  doxygen 1.5.2