summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-07-05 02:00:46 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-07-05 02:00:46 +0800
commit249705c4a1b61bf9e250321e5b029f6a434e7eea (patch)
treeea384be24973f5e032374ea25228197e6033a488 /include
parenta4e27599e8f45fb6b1652360c9a5a072bc222d18 (diff)
downloadmobileperf-249705c4a1b61bf9e250321e5b029f6a434e7eea.tar.gz
mobileperf-249705c4a1b61bf9e250321e5b029f6a434e7eea.tar.bz2
Use a private implementation for CompTimer
Diffstat (limited to 'include')
-rw-r--r--include/core/timer.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/core/timer.h b/include/core/timer.h
index 2b3933a..d387165 100644
--- a/include/core/timer.h
+++ b/include/core/timer.h
@@ -31,6 +31,7 @@
#include <glibmm/main.h>
class CompTimeoutSource;
+class PrivateTimer;
/**
* A simple timer for use with invoking a CallBack during a timed duration.
*/
@@ -105,14 +106,8 @@ class CompTimer {
friend class TimeoutHandler;
private:
- bool mActive;
- unsigned int mMinTime;
- unsigned int mMaxTime;
- int mMinLeft;
- int mMaxLeft;
- private:
- CallBack mCallBack;
+ PrivateTimer *priv;
};