1 // SPDX-License-Identifier: GPL-2.0-or-later
2 #ifndef SEEN_SP_DESC_H
3 #define SEEN_SP_DESC_H
4 
5 /*
6  * SVG <desc> implementation
7  *
8  * Authors:
9  *   Jeff Schiller <codedread@gmail.com>
10  *
11  * Copyright (C) 2008 Jeff Schiller
12  *
13  * Released under GNU GPL v2+, read the file 'COPYING' for more information.
14  */
15 
16 #include "sp-object.h"
17 
18 #define SP_DESC(obj) (dynamic_cast<SPDesc*>((SPObject*)obj))
19 #define SP_IS_DESC(obj) (dynamic_cast<const SPDesc*>((SPObject*)obj) != NULL)
20 
21 class SPDesc : public SPObject {
22 public:
23 	SPDesc();
24 	~SPDesc() override;
25 
26 protected:
27 	Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, unsigned int flags) override;
28 };
29 
30 #endif
31