summaryrefslogtreecommitdiffstats
path: root/src/object/sp-title.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-01-30 08:33:01 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-01-30 08:33:01 +0000
commit267299811df952d08324a39008f52c19641de9e0 (patch)
tree28fef736a52cb7a72119d119be8eb663ad20a77f /src/object/sp-title.h
parentTranslations: update inkscape.pot (diff)
downloadinkscape-267299811df952d08324a39008f52c19641de9e0.tar.gz
inkscape-267299811df952d08324a39008f52c19641de9e0.zip
Move classes derived from SPObject to own directory.
A lot of header clean-up.
Diffstat (limited to 'src/object/sp-title.h')
-rw-r--r--src/object/sp-title.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/object/sp-title.h b/src/object/sp-title.h
new file mode 100644
index 000000000..04f3829c6
--- /dev/null
+++ b/src/object/sp-title.h
@@ -0,0 +1,28 @@
+#ifndef SEEN_SP_TITLE_H
+#define SEEN_SP_TITLE_H
+
+/*
+ * SVG <title> implementation
+ *
+ * Authors:
+ * Jeff Schiller <codedread@gmail.com>
+ *
+ * Copyright (C) 2008 Jeff Schiller
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include "sp-object.h"
+
+#define SP_TITLE(obj) (dynamic_cast<SPTitle*>((SPObject*)obj))
+#define SP_IS_TITLE(obj) (dynamic_cast<const SPTitle*>((SPObject*)obj) != NULL)
+
+class SPTitle : public SPObject {
+public:
+ SPTitle();
+ virtual ~SPTitle();
+
+ virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags);
+};
+
+#endif