summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/wakeupevent.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/wakeupevent.hxx')
-rw-r--r--slideshow/source/inc/wakeupevent.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/slideshow/source/inc/wakeupevent.hxx b/slideshow/source/inc/wakeupevent.hxx
index e834ff8c46fc..602993ebd98f 100644
--- a/slideshow/source/inc/wakeupevent.hxx
+++ b/slideshow/source/inc/wakeupevent.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,7 +41,7 @@ namespace internal {
/** Little helper class, used to set Activities active again
after some sleep period.
-
+
Clients can use this class to schedule wakeup events at
the EventQueue, to avoid busy-waiting for the next
discrete time instant.
@@ -53,17 +53,17 @@ public:
WakeupEvent(
::boost::shared_ptr< ::canvas::tools::ElapsedTime > const& pTimeBase,
ActivitiesQueue & rActivityQueue );
-
+
virtual void dispose();
virtual bool fire();
virtual bool isCharged() const;
virtual double getActivationTime( double nCurrentTime ) const;
-
+
/// Start the internal timer
void start();
-
+
/** Set the next timeout this object should generate.
-
+
@param nextTime
Absolute time, measured from the last start() call,
when this event should wakeup the Activity again. If
@@ -71,14 +71,14 @@ public:
every setNextTimeout() call.
*/
void setNextTimeout( double nextTime );
-
+
/** Set activity to wakeup.
-
+
The activity given here will be reinserted into the
ActivitiesQueue, once the timeout is reached.
*/
void setActivity( const ActivitySharedPtr& rActivity );
-
+
private:
::canvas::tools::ElapsedTime maTimer;
double mnNextTime;