Code

Merge and cleanup of GSoC C++-ification project.
[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  *   Abhishek Sharma
9  *
10  * Released under GNU GPL, read the file 'COPYING' for more information.
11  */
13 #include <forward.h>
14 #include "sp-item.h"
15 #include <uri-references.h>
16 #include <sigc++/sigc++.h>
18 class Path;
20 namespace Inkscape {
22 namespace XML {
23     struct Node;
24 }
26 namespace LivePathEffect {
29 class PathReference : public Inkscape::URIReference {
30 public:
31     PathReference(SPObject *owner) : URIReference(owner) {}
33     SPItem *getObject() const {
34         return (SPItem *)URIReference::getObject();
35     }
37 protected:
38     virtual bool _acceptObject(SPObject * const obj) const;
40 private:
41     PathReference(const PathReference&);
42     PathReference& operator=(const PathReference&);
43 };
45 } // namespace LivePathEffect
47 } // namespace Inkscape
51 #endif /* !SEEN_LPE_PATH_REFERENCE_H */
53 /*
54   Local Variables:
55   mode:c++
56   c-file-style:"stroustrup"
57   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
58   indent-tabs-mode:nil
59   fill-column:99
60   End:
61 */
62 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :