Code

User message context in extensions
[inkscape.git] / src / sp-style-elem.h
1 #ifndef INKSCAPE_SP_STYLE_ELEM_H
2 #define INKSCAPE_SP_STYLE_ELEM_H
4 #include "sp-object.h"
5 #include "media.h"
7 #define SP_TYPE_STYLE_ELEM (sp_style_elem_get_type())
8 #define SP_STYLE_ELEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_STYLE_ELEM, SPStyleElem))
9 #define SP_STYLE_ELEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_STYLE_ELEM, SPStyleElemClass))
10 #define SP_IS_STYLE_ELEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_STYLE_ELEM))
11 #define SP_IS_STYLE_ELEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_STYLE_ELEM))
13 class SPStyleElem : public SPObject {
14 public:
15     Media media;
16     bool is_css;
17 };
19 class SPStyleElemClass : public SPObjectClass {
20 };
22 GType sp_style_elem_get_type();
25 #endif /* !INKSCAPE_SP_STYLE_ELEM_H */
27 /*
28   Local Variables:
29   mode:c++
30   c-file-style:"stroustrup"
31   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
32   indent-tabs-mode:nil
33   fill-column:99
34   End:
35 */
36 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :