diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2013-02-10 10:08:05 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2013-02-10 10:08:05 (GMT) |
commit | 34744f504e17274aedeef5c9fca3864efb67c8f4 (patch) | |
tree | 510102920144265944bd6177083a5e8ddccbb4fc /src/FbTk/Timer.hh | |
parent | 2e98d9ed0de32a60a1c105321fff88446e2473bf (diff) | |
download | fluxbox-34744f504e17274aedeef5c9fca3864efb67c8f4.zip fluxbox-34744f504e17274aedeef5c9fca3864efb67c8f4.tar.bz2 |
Cleanup
Diffstat (limited to 'src/FbTk/Timer.hh')
-rw-r--r-- | src/FbTk/Timer.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Timer.hh b/src/FbTk/Timer.hh index 2e82f2a..b4ce55e 100644 --- a/src/FbTk/Timer.hh +++ b/src/FbTk/Timer.hh | |||
@@ -61,7 +61,7 @@ public: | |||
61 | 61 | ||
62 | static void updateTimers(int file_descriptor); | 62 | static void updateTimers(int file_descriptor); |
63 | 63 | ||
64 | int isTiming() const { return (m_start > 0); } | 64 | int isTiming() const; |
65 | int getInterval() const { return m_interval; } | 65 | int getInterval() const { return m_interval; } |
66 | 66 | ||
67 | int doOnce() const { return m_once; } | 67 | int doOnce() const { return m_once; } |
@@ -80,7 +80,7 @@ private: | |||
80 | bool m_once; ///< do timeout only once? | 80 | bool m_once; ///< do timeout only once? |
81 | int m_interval; ///< Is an interval-only timer (e.g. clock), in seconds | 81 | int m_interval; ///< Is an interval-only timer (e.g. clock), in seconds |
82 | 82 | ||
83 | uint64_t m_start; ///< start time in microseconds, 0 if not running | 83 | uint64_t m_start; ///< start time in microseconds |
84 | uint64_t m_timeout; ///< time length in microseconds | 84 | uint64_t m_timeout; ///< time length in microseconds |
85 | }; | 85 | }; |
86 | 86 | ||