From: Daniel Karbach Date: Mon, 13 Aug 2012 21:04:22 +0000 (+0200) Subject: added Started function to Timer X-Git-Url: http://git.localhorst.tv/?a=commitdiff_plain;ds=sidebyside;h=24369a427910299e6ebf5167279dcb26ae0cdf9a;p=l2e.git added Started function to Timer --- diff --git a/src/app/Timer.h b/src/app/Timer.h index 750f3ad..13f48f3 100644 --- a/src/app/Timer.h +++ b/src/app/Timer.h @@ -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; }