summaryrefslogtreecommitdiffstats
path: root/app/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/animation.h')
-rw-r--r--app/animation.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/app/animation.h b/app/animation.h
index 8433f29..06ccf52 100644
--- a/app/animation.h
+++ b/app/animation.h
@@ -14,29 +14,7 @@ namespace gfx {
class Rect;
}
-class Animation;
-
-// AnimationDelegate
-//
-// Implement this interface when you want to receive notifications about the
-// state of an animation.
-class AnimationDelegate {
- public:
- // Called when an animation has completed.
- virtual void AnimationEnded(const Animation* animation) {
- }
-
- // Called when an animation has progressed.
- virtual void AnimationProgressed(const Animation* animation) {
- }
-
- // Called when an animation has been canceled.
- virtual void AnimationCanceled(const Animation* animation) {
- }
-
- protected:
- virtual ~AnimationDelegate() {}
-};
+class AnimationDelegate;
// Base class used in implementing animations. You only need use this class if
// you're implementing a new animation type, otherwise you'll likely want one of