1 #ifndef __SP_ANIMATION_H__
2 #define __SP_ANIMATION_H__
4 /*
5 * SVG <animate> implementation
6 *
7 * Authors:
8 * Lauris Kaplinski <lauris@kaplinski.com>
9 *
10 * Copyright (C) 2002 Lauris Kaplinski
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
15 #include "sp-object.h"
19 /* Animation base class */
21 #define SP_TYPE_ANIMATION (sp_animation_get_type ())
22 #define SP_ANIMATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_ANIMATION, SPAnimation))
23 #define SP_IS_ANIMATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_ANIMATION))
25 class SPAnimation;
26 class SPAnimationClass;
28 struct SPAnimation : public SPObject {
29 };
31 struct SPAnimationClass {
32 SPObjectClass parent_class;
33 };
35 GType sp_animation_get_type (void);
37 /* Interpolated animation base class */
39 #define SP_TYPE_IANIMATION (sp_ianimation_get_type ())
40 #define SP_IANIMATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_IANIMATION, SPIAnimation))
41 #define SP_IS_IANIMATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_IANIMATION))
43 class SPIAnimation;
44 class SPIAnimationClass;
46 struct SPIAnimation : public SPAnimation {
47 };
49 struct SPIAnimationClass {
50 SPAnimationClass parent_class;
51 };
53 GType sp_ianimation_get_type (void);
55 /* SVG <animate> */
57 #define SP_TYPE_ANIMATE (sp_animate_get_type ())
58 #define SP_ANIMATE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_ANIMATE, SPAnimate))
59 #define SP_IS_ANIMATE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_ANIMATE))
61 class SPAnimate;
62 class SPAnimateClass;
64 struct SPAnimate : public SPIAnimation {
65 };
67 struct SPAnimateClass {
68 SPIAnimationClass parent_class;
69 };
71 GType sp_animate_get_type (void);
75 #endif