diff options
Diffstat (limited to 'slideshow/source/inc/wakeupevent.hxx')
-rw-r--r-- | slideshow/source/inc/wakeupevent.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/slideshow/source/inc/wakeupevent.hxx b/slideshow/source/inc/wakeupevent.hxx index 58e818a91459..0ae0729a5cfb 100644 --- a/slideshow/source/inc/wakeupevent.hxx +++ b/slideshow/source/inc/wakeupevent.hxx @@ -1,7 +1,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 @@ -40,7 +40,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. @@ -52,17 +52,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 @@ -70,14 +70,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; |