linedash.h
Go to the documentation of this file.00001
00002
00003 #ifndef _GOOCANVASMM_LINEDASH_H
00004 #define _GOOCANVASMM_LINEDASH_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
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
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
00076
00077
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 }
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
00115
00116 }
00117
00118
00119 #endif
00120