Code

Pot and Dutch translation update
[inkscape.git] / src / live_effects / parameter / path-reference.h
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 <uri-references.h>
14 #include <sigc++/sigc++.h>
16 class Path;
18 namespace Inkscape {
20 namespace XML {
21     struct Node;
22 }
24 namespace LivePathEffect {
27 class PathReference : public Inkscape::URIReference {
28 public:
29     PathReference(SPObject *owner) : URIReference(owner) {}
31     SPItem *getObject() const {
32         return (SPItem *)URIReference::getObject();
33     }
35 protected:
36     virtual bool _acceptObject(SPObject * const obj) const;
38 private:
39     PathReference(const PathReference&);
40     PathReference& operator=(const PathReference&);
41 };
43 } // namespace LivePathEffect
45 } // namespace Inkscape
49 #endif /* !SEEN_LPE_PATH_REFERENCE_H */
51 /*
52   Local Variables:
53   mode:c++
54   c-file-style:"stroustrup"
55   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
56   indent-tabs-mode:nil
57   fill-column:99
58   End:
59 */
60 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :