Code

Add checkbox for LPEs to temporarily disable them on canvas (but keep them applied...
[inkscape.git] / src / live_effects / lpeobject-reference.h
index 7aaa5f69166cbe43bfda15b1c161efe0981d5ee7..6a2f75327c9b7dd66ac8552e63b3569b0951a6cf 100644 (file)
@@ -1,71 +1,71 @@
-#ifndef SEEN_LPEOBJECT_REFERENCE_H\r
-#define SEEN_LPEOBJECT_REFERENCE_H\r
-\r
-/*\r
- * The reference corresponding to the inkscape:live-effect attribute\r
- *\r
- * Copyright (C) 2007 Johan Engelen\r
- *\r
- * Released under GNU GPL, read the file 'COPYING' for more information.\r
- */\r
-\r
-#include <forward.h>\r
-#include <uri-references.h>\r
-#include <sigc++/sigc++.h>\r
-\r
-namespace Inkscape {\r
-namespace XML {\r
-struct Node;\r
-}\r
-}\r
-\r
-struct LivePathEffectObject;\r
-\r
-namespace Inkscape {\r
-\r
-namespace LivePathEffect {\r
-\r
-class LPEObjectReference : public Inkscape::URIReference {\r
-public:\r
-    LPEObjectReference(SPObject *owner);\r
-    ~LPEObjectReference();\r
-\r
-    SPObject       *owner;\r
-\r
-    // concerning the LPEObject that is refered to:\r
-    gchar                *lpeobject_href;\r
-    Inkscape::XML::Node  *lpeobject_repr;\r
-    LivePathEffectObject *lpeobject;\r
-\r
-    sigc::connection _modified_connection;\r
-    sigc::connection _delete_connection;\r
-    sigc::connection _changed_connection;\r
-\r
-    void            link(char* to);\r
-    void            unlink(void);\r
-    void            start_listening(LivePathEffectObject* to);\r
-    void            quit_listening(void);\r
-\r
-    void (*user_unlink) (SPObject *user);\r
-\r
-protected:\r
-    bool _acceptObject(SPObject * const obj) const;\r
-\r
-};\r
-\r
-}; //namespace LivePathEffect\r
-\r
-}; // namespace inkscape\r
-\r
-#endif /* !SEEN_LPEOBJECT_REFERENCE_H */\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 :\r
+#ifndef SEEN_LPEOBJECT_REFERENCE_H
+#define SEEN_LPEOBJECT_REFERENCE_H
+
+/*
+ * The reference corresponding to the inkscape:live-effect attribute
+ *
+ * Copyright (C) 2007 Johan Engelen
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information.
+ */
+
+#include <forward.h>
+#include <uri-references.h>
+#include <sigc++/sigc++.h>
+
+namespace Inkscape {
+namespace XML {
+struct Node;
+}
+}
+
+struct LivePathEffectObject;
+
+namespace Inkscape {
+
+namespace LivePathEffect {
+
+class LPEObjectReference : public Inkscape::URIReference {
+public:
+    LPEObjectReference(SPObject *owner);
+    virtual ~LPEObjectReference();
+
+    SPObject       *owner;
+
+    // concerning the LPEObject that is refered to:
+    gchar                *lpeobject_href;
+    Inkscape::XML::Node  *lpeobject_repr;
+    LivePathEffectObject *lpeobject;
+
+    sigc::connection _modified_connection;
+    sigc::connection _delete_connection;
+    sigc::connection _changed_connection;
+
+    void            link(char* to);
+    void            unlink(void);
+    void            start_listening(LivePathEffectObject* to);
+    void            quit_listening(void);
+
+    void (*user_unlink) (SPObject *user);
+
+protected:
+    bool _acceptObject(SPObject * const obj) const;
+
+};
+
+} //namespace LivePathEffect
+
+} // namespace inkscape
+
+#endif /* !SEEN_LPEOBJECT_REFERENCE_H */
+
+/*
+  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 :