summaryrefslogtreecommitdiffstats
path: root/client/red_client.h
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2009-11-16 17:50:16 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-11-30 18:03:35 +0200
commit3b51087b3656b111886c7397d0ddd499a96f9e2d (patch)
tree21cdb7b0dc282062bd811f65ee295a7074b58275 /client/red_client.h
parenta70110c4e50aad99de7a844bb78eb868768e7841 (diff)
downloadspice-3b51087b3656b111886c7397d0ddd499a96f9e2d.tar.gz
spice-3b51087b3656b111886c7397d0ddd499a96f9e2d.tar.xz
spice-3b51087b3656b111886c7397d0ddd499a96f9e2d.zip
client: interactive screen layer
Diffstat (limited to 'client/red_client.h')
-rw-r--r--client/red_client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/red_client.h b/client/red_client.h
index 04c800cc..fde958f2 100644
--- a/client/red_client.h
+++ b/client/red_client.h
@@ -118,6 +118,11 @@ class AgentTimer: public Timer {
typedef std::map< int, RedPeer::ConnectionOptions::Type> PeerConnectionOptMap;
+class ForEachChannelFunc {
+public:
+ virtual bool operator() (RedChannel& channel) = 0;
+};
+
class RedClient: public RedChannel {
public:
friend class RedChannel;
@@ -153,6 +158,8 @@ public:
PixmapCache& get_pixmap_cache() {return _pixmap_cache;}
uint64_t get_pixmap_cache_size() { return _pixmap_cache_size;}
void on_display_mode_change();
+ void for_each_channel(ForEachChannelFunc& func);
+ void on_mouse_capture_trigger(RedScreen& screen);
GlzDecoderWindow& get_glz_window() {return _glz_window;}
int get_glz_window_size() { return _glz_window_size;}