diff options
Diffstat (limited to 'src/FbTk/Timer.hh')
-rw-r--r-- | src/FbTk/Timer.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FbTk/Timer.hh b/src/FbTk/Timer.hh index 4b5be95..01f4860 100644 --- a/src/FbTk/Timer.hh +++ b/src/FbTk/Timer.hh | |||
@@ -21,9 +21,9 @@ | |||
21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | #ifndef FBTK_TIMER_HH | 25 | #ifndef FBTK_TIMER_HH |
26 | #define FBTK_TIMER_HH | 26 | #define FBTK_TIMER_HH |
27 | 27 | ||
28 | #include "RefCount.hh" | 28 | #include "RefCount.hh" |
29 | #include "Command.hh" | 29 | #include "Command.hh" |
@@ -52,7 +52,7 @@ | |||
52 | namespace FbTk { | 52 | namespace FbTk { |
53 | 53 | ||
54 | /** | 54 | /** |
55 | Handles Timeout | 55 | Handles Timeout |
56 | */ | 56 | */ |
57 | class Timer { | 57 | class Timer { |
58 | public: | 58 | public: |
@@ -60,7 +60,7 @@ public: | |||
60 | explicit Timer(RefCount<Command> &handler); | 60 | explicit Timer(RefCount<Command> &handler); |
61 | virtual ~Timer(); | 61 | virtual ~Timer(); |
62 | 62 | ||
63 | inline void fireOnce(bool once) { m_once = once; } | 63 | void fireOnce(bool once) { m_once = once; } |
64 | /// set timeout | 64 | /// set timeout |
65 | void setTimeout(time_t val); | 65 | void setTimeout(time_t val); |
66 | /// set timeout | 66 | /// set timeout |