summaryrefslogtreecommitdiffstats
path: root/client/process_loop.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2009-11-09 19:19:00 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-11-09 22:10:50 +0200
commite74de7834dda657966f209b2cb23b145773a915f (patch)
tree93f52fc9973d6c41f2b5f32b3a98b6e238bc3a73 /client/process_loop.h
parent2e4d70980591f5d5c675de7461a462b7859080af (diff)
downloadspice-e74de7834dda657966f209b2cb23b145773a915f.tar.gz
spice-e74de7834dda657966f209b2cb23b145773a915f.tar.xz
spice-e74de7834dda657966f209b2cb23b145773a915f.zip
spice client: calling the timers during modal loop in Windows
Diffstat (limited to 'client/process_loop.h')
-rw-r--r--client/process_loop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/process_loop.h b/client/process_loop.h
index df8650dc..ea9eea43 100644
--- a/client/process_loop.h
+++ b/client/process_loop.h
@@ -205,6 +205,11 @@ public:
void deactivate_interval_timer(Timer* timer);
void process_events_queue();
+ /* can be used for handling timers in modal loop state in Windows (mainly,
+ for updating the screen) */
+ int get_soonest_timeout();
+ void timers_action();
+
void* get_owner() { return _owner;}
bool is_same_thread(pthread_t thread) { return _started && pthread_equal(_thread, thread);}