1 #ifndef SEEN_LPE_PATH_REFERENCE_H
2 #define SEEN_LPE_PATH_REFERENCE_H
4 /*
5 * The reference corresponding to href of LPE PathParam.
6 *
7 * Copyright (C) 2008 Johan Engelen
8 *
9 * Released under GNU GPL, read the file 'COPYING' for more information.
10 */
12 #include <forward.h>
13 #include "sp-item.h"
14 #include <uri-references.h>
15 #include <sigc++/sigc++.h>
17 class Path;
19 namespace Inkscape {
21 namespace XML {
22 struct Node;
23 }
25 namespace LivePathEffect {
28 class PathReference : public Inkscape::URIReference {
29 public:
30 PathReference(SPObject *owner) : URIReference(owner) {}
32 SPItem *getObject() const {
33 return (SPItem *)URIReference::getObject();
34 }
36 protected:
37 virtual bool _acceptObject(SPObject * const obj) const;
39 private:
40 PathReference(const PathReference&);
41 PathReference& operator=(const PathReference&);
42 };
44 } // namespace LivePathEffect
46 } // namespace Inkscape
50 #endif /* !SEEN_LPE_PATH_REFERENCE_H */
52 /*
53 Local Variables:
54 mode:c++
55 c-file-style:"stroustrup"
56 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
57 indent-tabs-mode:nil
58 fill-column:99
59 End:
60 */
61 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :