summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/eventqueue.hxx
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-01-04 15:43:22 +0100
committerChristian Lippka <christian.lippka@sun.com>2010-01-04 15:43:22 +0100
commitb71823a291b10fe67cd96b81bce3fb0d91dcb893 (patch)
tree756017bd26f549770d70b47488b4fe11aaff1504 /slideshow/source/inc/eventqueue.hxx
parentdada72080460ab3a1bf4228a38454339b1d5f204 (diff)
parenteb86211c1db0bb492669e7ac8302b89254ed4793 (diff)
merge to m68
Diffstat (limited to 'slideshow/source/inc/eventqueue.hxx')
-rw-r--r--slideshow/source/inc/eventqueue.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/slideshow/source/inc/eventqueue.hxx b/slideshow/source/inc/eventqueue.hxx
index 5963552d9c60..35adcf69c068 100644
--- a/slideshow/source/inc/eventqueue.hxx
+++ b/slideshow/source/inc/eventqueue.hxx
@@ -72,6 +72,13 @@ namespace slideshow
*/
bool addEventForNextRound( const EventSharedPtr& event );
+ /** Another way to control the order of asynchronous event
+ exeqution. Use this method to schedule events that are to
+ be executed after all regular events that have no delay,
+ even when they schedule new regular events without delay.
+ */
+ bool addEventWhenQueueIsEmpty (const EventSharedPtr& rpEvent);
+
/** Process the event queue.
This method executes all events whose timeout has
@@ -138,6 +145,7 @@ namespace slideshow
ImplQueueType maEvents;
typedef ::std::vector<EventEntry> EventEntryVector;
EventEntryVector maNextEvents;
+ ImplQueueType maNextNextEvents;
void process_( bool bFireAllEvents );
// perform timing of events via relative time