Code

Rename LPE: mirror reflect --> mirror symmetry
[inkscape.git] / src / live_effects / lpeobject.h
index fff43cdcfd9584b1908b3e1f63a2edf442b116b0..f141f07ca8cc87a333f8715738ce7fcceb7c739b 100644 (file)
@@ -1,52 +1,47 @@
-#ifndef INKSCAPE_LIVEPATHEFFECT_OBJECT_H\r
-#define INKSCAPE_LIVEPATHEFFECT_OBJECT_H\r
-\r
-/*\r
- * Inkscape::LivePathEffect\r
- *\r
-* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>\r
- *\r
- * Released under GNU GPL, read the file 'COPYING' for more information\r
- */\r
\r
-#include "sp-object.h"\r
-#include "effect.h"\r
-\r
-#define TYPE_LIVEPATHEFFECT  (livepatheffect_get_type())\r
-#define LIVEPATHEFFECT(o)    (G_TYPE_CHECK_INSTANCE_CAST((o), TYPE_LIVEPATHEFFECT, LivePathEffectObject))\r
-#define IS_LIVEPATHEFFECT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), TYPE_LIVEPATHEFFECT))\r
-\r
-/*\r
-namespace Inkscape {\r
-namespace LivePathEffect {\r
-    class Effect;\r
-};\r
-};\r
-*/\r
-\r
-struct LivePathEffectObject : public SPObject {\r
-    Inkscape::LivePathEffect::EffectType effecttype;  // fixme: i think this is not needed\r
-    Inkscape::LivePathEffect::Effect *lpe;\r
-\r
-    bool effecttype_set;\r
-};\r
-\r
-/// The LivePathEffect vtable.\r
-struct LivePathEffectObjectClass {\r
-    SPObjectClass parent_class;\r
-};\r
-\r
-GType livepatheffect_get_type();\r
-\r
-#endif\r
-\r
-/*\r
-  Local Variables:\r
-  mode:c++\r
-  c-file-style:"stroustrup"\r
-  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))\r
-  indent-tabs-mode:nil\r
-  fill-column:99\r
-  End:\r
-*/\r
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :\r
+#ifndef INKSCAPE_LIVEPATHEFFECT_OBJECT_H
+#define INKSCAPE_LIVEPATHEFFECT_OBJECT_H
+
+/*
+ * Inkscape::LivePathEffect
+ *
+* Copyright (C) Johan Engelen 2007-2008 <j.b.c.engelen@utwente.nl>
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+#include "sp-object.h"
+#include "effect.h"
+
+#define TYPE_LIVEPATHEFFECT  (livepatheffect_get_type())
+#define LIVEPATHEFFECT(o)    (G_TYPE_CHECK_INSTANCE_CAST((o), TYPE_LIVEPATHEFFECT, LivePathEffectObject))
+#define IS_LIVEPATHEFFECT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), TYPE_LIVEPATHEFFECT))
+
+class LivePathEffectObject : public SPObject {
+public:
+    Inkscape::LivePathEffect::EffectType effecttype;
+    Inkscape::LivePathEffect::Effect *lpe;
+
+    bool effecttype_set;
+
+    LivePathEffectObject * fork_private_if_necessary(unsigned int nr_of_allowed_users = 1);
+};
+
+/// The LivePathEffect vtable.
+struct LivePathEffectObjectClass {
+    SPObjectClass parent_class;
+};
+
+GType livepatheffect_get_type();
+
+#endif
+
+/*
+  Local Variables:
+  mode:c++
+  c-file-style:"stroustrup"
+  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+  indent-tabs-mode:nil
+  fill-column:99
+  End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :