Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / live_effects / parameter / path-reference.h
index 88147d908c5e35078f60c2d553c2bf05c6fd3dcb..3bedecccbfc969aa84c5ff77232753a32815e829 100644 (file)
@@ -1,60 +1,62 @@
-#ifndef SEEN_LPE_PATH_REFERENCE_H\r
-#define SEEN_LPE_PATH_REFERENCE_H\r
-\r
-/*\r
- * The reference corresponding to href of LPE PathParam.\r
- *\r
- * Copyright (C) 2008 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
-class Path;\r
-\r
-namespace Inkscape {\r
-\r
-namespace XML {\r
-    struct Node;\r
-}\r
-\r
-namespace LivePathEffect {\r
-\r
-\r
-class PathReference : public Inkscape::URIReference {\r
-public:\r
-    PathReference(SPObject *owner) : URIReference(owner) {}\r
-\r
-    SPItem *getObject() const {\r
-        return (SPItem *)URIReference::getObject();\r
-    }\r
-\r
-protected:\r
-    virtual bool _acceptObject(SPObject * const obj) const;\r
-\r
-private:\r
-    PathReference(const PathReference&);\r
-    PathReference& operator=(const PathReference&);\r
-};\r
-\r
-} // namespace LivePathEffect\r
-\r
-} // namespace Inkscape\r
-\r
-\r
-\r
-#endif /* !SEEN_LPE_PATH_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_LPE_PATH_REFERENCE_H
+#define SEEN_LPE_PATH_REFERENCE_H
+
+/*
+ * The reference corresponding to href of LPE PathParam.
+ *
+ * Copyright (C) 2008 Johan Engelen
+ *   Abhishek Sharma
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information.
+ */
+
+#include <forward.h>
+#include "sp-item.h"
+#include <uri-references.h>
+#include <sigc++/sigc++.h>
+
+class Path;
+
+namespace Inkscape {
+
+namespace XML {
+    struct Node;
+}
+
+namespace LivePathEffect {
+
+
+class PathReference : public Inkscape::URIReference {
+public:
+    PathReference(SPObject *owner) : URIReference(owner) {}
+
+    SPItem *getObject() const {
+        return (SPItem *)URIReference::getObject();
+    }
+
+protected:
+    virtual bool _acceptObject(SPObject * const obj) const;
+
+private:
+    PathReference(const PathReference&);
+    PathReference& operator=(const PathReference&);
+};
+
+} // namespace LivePathEffect
+
+} // namespace Inkscape
+
+
+
+#endif /* !SEEN_LPE_PATH_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 :