summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d17d1df)
raw | patch | inline | side by side (parent: d17d1df)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 4 Jul 2007 01:29:48 +0000 (01:29 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 4 Jul 2007 01:29:48 +0000 (01:29 +0000) |
src/sp-paint-server.h | patch | blob | history |
diff --git a/src/sp-paint-server.h b/src/sp-paint-server.h
index 9589b04d35759ff6d38e793abbd17fbd4b241035..975ae542f53fbcb654d248f5e5548a646122ad14 100644 (file)
--- a/src/sp-paint-server.h
+++ b/src/sp-paint-server.h
#include <libnr/nr-pixblock.h>
#include "sp-object.h"
-
-
+#include "uri-references.h"
class SPPainter;
SPPainter *sp_painter_free (SPPainter *painter);
-
+class SPPaintServerReference : public Inkscape::URIReference {
+public:
+ SPPaintServerReference (SPObject *obj) : URIReference(obj) {}
+ SPPaintServerReference (SPDocument *doc) : URIReference(doc) {}
+ SPPaintServer *getObject() const {
+ return (SPPaintServer *)URIReference::getObject();
+ }
+protected:
+ virtual bool _acceptObject(SPObject *obj) const {
+ return SP_IS_PAINT_SERVER (obj);
+ }
+};
#endif