blob: f276ab1773459947f9968fa6af2869ee7e156e6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#ifndef __SP_TITLE_H__
#define __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_TYPE_TITLE (sp_title_get_type ())
#define SP_TITLE(obj) ((SPTitle*)obj)
#define SP_IS_TITLE(obj) (obj != NULL && static_cast<const SPObject*>(obj)->typeHierarchy.count(typeid(SPTitle)))
class CTitle;
class SPTitle : public SPObject {
public:
CTitle* ctitle;
};
struct SPTitleClass {
SPObjectClass parent_class;
};
class CTitle : public CObject {
public:
CTitle(SPTitle* title);
virtual ~CTitle();
virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags);
protected:
SPTitle* sptitle;
};
GType sp_title_get_type (void);
#endif
|