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>2010-01-03 17:21:06 +0200
commiteb85aae81ffe544273b724cc1288ecd143ef07a6 (patch)
treedf730fd92c1e257cb6129b327adf43c5e24b57b8 /client/process_loop.h
parent74db5629bde5cf33f613a17cc3cdb3e2ba49233d (diff)
downloadspice-eb85aae81ffe544273b724cc1288ecd143ef07a6.tar.gz
spice-eb85aae81ffe544273b724cc1288ecd143ef07a6.tar.xz
spice-eb85aae81ffe544273b724cc1288ecd143ef07a6.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);}