aboutsummaryrefslogtreecommitdiff
path: root/include/ui/spice-display.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-11-13 14:51:41 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-03-18 10:21:58 +0100
commit7c20b4a374d0016e3fce005690fb428354a56621 (patch)
treee2cd1af910a6e226a1cc8d4d3f6d933a02e58c58 /include/ui/spice-display.h
parent225dc991b03f0f034aa348f5cf499de9d0979107 (diff)
console: fix displaychangelisteners interface
Split callbacks into separate Ops struct. Pass DisplayChangeListener pointer as first argument to all callbacks. Uninline a bunch of display functions and move them from console.h to console.c Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/spice-display.h')
-rw-r--r--include/ui/spice-display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/spice-display.h b/include/ui/spice-display.h
index 46f9530fe..f2752aa25 100644
--- a/include/ui/spice-display.h
+++ b/include/ui/spice-display.h
@@ -72,6 +72,7 @@ typedef struct SimpleSpiceUpdate SimpleSpiceUpdate;
struct SimpleSpiceDisplay {
DisplayState *ds;
+ DisplayChangeListener dcl;
void *buf;
int bufsize;
QXLWorker *worker;