diff options
Diffstat (limited to 'src/sp-animation.h')
| -rw-r--r-- | src/sp-animation.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/sp-animation.h b/src/sp-animation.h new file mode 100644 index 000000000..407419f5b --- /dev/null +++ b/src/sp-animation.h @@ -0,0 +1,75 @@ +#ifndef __SP_ANIMATION_H__ +#define __SP_ANIMATION_H__ + +/* + * SVG <animate> implementation + * + * Authors: + * Lauris Kaplinski <lauris@kaplinski.com> + * + * Copyright (C) 2002 Lauris Kaplinski + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include "sp-object.h" + + + +/* Animation base class */ + +#define SP_TYPE_ANIMATION (sp_animation_get_type ()) +#define SP_ANIMATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_ANIMATION, SPAnimation)) +#define SP_IS_ANIMATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_ANIMATION)) + +class SPAnimation; +class SPAnimationClass; + +struct SPAnimation : public SPObject { +}; + +struct SPAnimationClass { + SPObjectClass parent_class; +}; + +GType sp_animation_get_type (void); + +/* Interpolated animation base class */ + +#define SP_TYPE_IANIMATION (sp_ianimation_get_type ()) +#define SP_IANIMATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_IANIMATION, SPIAnimation)) +#define SP_IS_IANIMATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_IANIMATION)) + +class SPIAnimation; +class SPIAnimationClass; + +struct SPIAnimation : public SPAnimation { +}; + +struct SPIAnimationClass { + SPAnimationClass parent_class; +}; + +GType sp_ianimation_get_type (void); + +/* SVG <animate> */ + +#define SP_TYPE_ANIMATE (sp_animate_get_type ()) +#define SP_ANIMATE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_ANIMATE, SPAnimate)) +#define SP_IS_ANIMATE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_ANIMATE)) + +class SPAnimate; +class SPAnimateClass; + +struct SPAnimate : public SPIAnimation { +}; + +struct SPAnimateClass { + SPIAnimationClass parent_class; +}; + +GType sp_animate_get_type (void); + + + +#endif |
