diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2009-11-09 18:05:40 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-11-09 19:06:44 +0200 |
commit | ec34856feadfb56971bc06f7da7ada67394440a8 (patch) | |
tree | 9ef91c6a0ca613d500ddc9dda829cf1c8c62545d /client/platform.h | |
parent | 4c72ba138c391c27d15e23c349c87e23fd813ac6 (diff) | |
download | spice-ec34856feadfb56971bc06f7da7ada67394440a8.tar.gz spice-ec34856feadfb56971bc06f7da7ada67394440a8.tar.xz spice-ec34856feadfb56971bc06f7da7ada67394440a8.zip |
spice client: remove timer interface from platform - use Application (via ProcessLoop interface).
Diffstat (limited to 'client/platform.h')
-rw-r--r-- | client/platform.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/client/platform.h b/client/platform.h index fec3244d..5dca7177 100644 --- a/client/platform.h +++ b/client/platform.h @@ -30,13 +30,6 @@ class Icon; class Monitor; typedef std::list<Monitor*> MonitorsList; -/* TODO: tmp till each channel will handle its own thread - timers or directly through the main thread */ -#define INVALID_TIMER (~TimerID(0)) -typedef unsigned long TimerID; -typedef void (*timer_proc_t)(void* opaque, TimerID timer); - - class Platform { public: static void init(); @@ -98,12 +91,6 @@ public: class DisplayModeListner; static void set_display_mode_listner(DisplayModeListner* listener); - /* TODO: tmp till each channel will handle its own thread - timers or directly through the main thread */ - static TimerID create_interval_timer(timer_proc_t proc, void* opaque); - static bool activate_interval_timer(TimerID timer, unsigned int millisec); - static bool deactivate_interval_timer(TimerID timer); - static void destroy_interval_timer(TimerID timer); }; class Platform::EventListener { |