summaryrefslogtreecommitdiffstats
path: root/client/platform.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2009-11-09 18:05:40 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-03 17:19:35 +0200
commit9b12f7ca8c4aa2c9b4d63f8ebd228992380c3976 (patch)
tree332e5869e46f42364c5ddc8b17af9c524387fc66 /client/platform.h
parentda98669691f5041d16d40bd6b8b794af3a822a7c (diff)
downloadspice-9b12f7ca8c4aa2c9b4d63f8ebd228992380c3976.tar.gz
spice-9b12f7ca8c4aa2c9b4d63f8ebd228992380c3976.tar.xz
spice-9b12f7ca8c4aa2c9b4d63f8ebd228992380c3976.zip
spice client: remove timer interface from platform - use Application (via ProcessLoop interface).
Diffstat (limited to 'client/platform.h')
-rw-r--r--client/platform.h13
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 {