summaryrefslogtreecommitdiffstats
path: root/pacman-c++/animationmanager.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-12 21:53:36 +0200
committermanuel <manuel@mausz.at>2011-04-12 21:53:36 +0200
commitc910e2267d3af30f10b9c659b2d9f9349c596e0d (patch)
treec6b531b4d70faa0d88b0f86e81180f30e99b3060 /pacman-c++/animationmanager.h
parentcfbd1b80e7e1f89861c96e6d802a3fe11df00929 (diff)
downloadfoop-c910e2267d3af30f10b9c659b2d9f9349c596e0d.tar.gz
foop-c910e2267d3af30f10b9c659b2d9f9349c596e0d.tar.bz2
foop-c910e2267d3af30f10b9c659b2d9f9349c596e0d.zip
remove animationmanager (for now?)
Diffstat (limited to 'pacman-c++/animationmanager.h')
-rw-r--r--pacman-c++/animationmanager.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/pacman-c++/animationmanager.h b/pacman-c++/animationmanager.h
deleted file mode 100644
index 408395b..0000000
--- a/pacman-c++/animationmanager.h
+++ /dev/null
@@ -1,33 +0,0 @@
1#ifndef ANIMATIONMANAGER_H
2#define ANIMATIONMANAGER_H
3
4#include <QtCore/QObject>
5
6QT_BEGIN_NAMESPACE
7class QAbstractAnimation;
8QT_END_NAMESPACE
9
10class AnimationManager
11 : public QObject
12{
13 Q_OBJECT
14public:
15 AnimationManager();
16 void registerAnimation(QAbstractAnimation *anim);
17 void unregisterAnimation(QAbstractAnimation *anim);
18 void unregisterAllAnimations();
19 static AnimationManager *self();
20
21public slots:
22 void pauseAll();
23 void resumeAll();
24
25private slots:
26 void unregisterAnimation_helper(QObject *obj);
27
28private:
29 static AnimationManager *instance;
30 QList<QAbstractAnimation *> animations;
31};
32
33#endif // ANIMATIONMANAGER_H