aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-02-02 12:10:19 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-02-20 12:12:04 +0100
commit767f9bf3b5621acfe97e53d3a3a7bddf66c39ff6 (patch)
tree0ed63d6e890e297d115d8d94743ff9cd9f453743 /qapi
parent14f130fad872f7accef77925288d730ecadded5d (diff)
downloadqemu-767f9bf3b5621acfe97e53d3a3a7bddf66c39ff6.zip
qemu-767f9bf3b5621acfe97e53d3a3a7bddf66c39ff6.tar.gz
qemu-767f9bf3b5621acfe97e53d3a3a7bddf66c39ff6.tar.bz2
cocoa: use DisplayOptions
Switch cocoa ui to use qapi DisplayOptions for configuration. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20180202111022.19269-10-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/ui.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/qapi/ui.json b/qapi/ui.json
index 11aad8b..398baa9 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -1020,7 +1020,8 @@
#
##
{ 'enum' : 'DisplayType',
- 'data' : [ 'none', 'gtk', 'sdl', 'egl-headless', 'curses' ] }
+ 'data' : [ 'none', 'gtk', 'sdl',
+ 'egl-headless', 'curses', 'cocoa' ] }
##
# @DisplayOptions:
@@ -1045,4 +1046,5 @@
'gtk' : 'DisplayGTK',
'sdl' : 'DisplayNoOpts',
'egl-headless' : 'DisplayNoOpts',
- 'curses' : 'DisplayNoOpts' } }
+ 'curses' : 'DisplayNoOpts',
+ 'cocoa' : 'DisplayNoOpts' } }