summaryrefslogtreecommitdiffstats
path: root/src/sp-filter-reference.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-filter-reference.h')
-rw-r--r--src/sp-filter-reference.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/sp-filter-reference.h b/src/sp-filter-reference.h
new file mode 100644
index 000000000..226e033bb
--- /dev/null
+++ b/src/sp-filter-reference.h
@@ -0,0 +1,32 @@
+#ifndef SEEN_SP_FILTER_REFERENCE_H
+#define SEEN_SP_FILTER_REFERENCE_H
+
+#include "uri-references.h"
+#include "sp-filter-fns.h"
+class SPObject;
+
+class SPFilterReference : public Inkscape::URIReference {
+public:
+ SPFilterReference(SPObject *obj) : URIReference(obj) {}
+
+ SPFilter *getObject() const {
+ return (SPFilter *)URIReference::getObject();
+ }
+
+protected:
+ virtual bool _acceptObject(SPObject *obj) const;
+};
+
+
+#endif /* !SEEN_SP_FILTER_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:encoding=utf-8:textwidth=99 :