Code

OCAL. Fix for Bug #638844 (Errors printed to console if openclipart search fails).
[inkscape.git] / src / sp-script.h
1 #ifndef __SP_SCRIPT_H__
2 #define __SP_SCRIPT_H__
4 /*
5  * SVG <script> implementation
6  *
7  * Author:
8  *   Felipe C. da S. Sanches <juca@members.fsf.org>
9  *
10  * Copyright (C) 2008 Author
11  *
12  * Released under GNU GPL version 2 or later, read the file 'COPYING' for more information
13  */
15 #include "sp-item.h"
17 #define SP_TYPE_SCRIPT (sp_script_get_type())
18 #define SP_SCRIPT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_SCRIPT, SPScript))
19 #define SP_SCRIPT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_SCRIPT, SPScriptClass))
20 #define SP_IS_SCRIPT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_SCRIPT))
21 #define SP_IS_SCRIPT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_SCRIPT))
23 /* SPScript */
25 struct SPScript : public SPObject {
26         gchar *xlinkhref;
27 };
29 struct SPScriptClass {
30     SPObjectClass parent_class;
31 };
33 GType sp_script_get_type();
35 #endif
37 /*
38   Local Variables:
39   mode:c++
40   c-file-style:"stroustrup"
41   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
42   indent-tabs-mode:nil
43   fill-column:99
44   End:
45 */
46 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :