]> git.localhorst.tv Git - l2e.git/commitdiff
added Started function to Timer
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 13 Aug 2012 21:04:22 +0000 (23:04 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 13 Aug 2012 21:04:22 +0000 (23:04 +0200)
src/app/Timer.h

index 750f3ad40b4cc545283688cdeb2831aed2e20541..13f48f3d7d38ec884c38234fc4fdc7355e1f990c 100644 (file)
@@ -48,6 +48,9 @@ public:
        }
 
 public:
+       bool Started() const {
+               return data;
+       }
        bool Finished() const {
                return data && data->target != Time() && !data->repeat && data->time >= data->target;
        }