master
h 35 lines 716 Bytes
Raw
1 /*
2 * SPDX-License-Identifier: GPL-2.0-or-later
3 * QEMU UI Console
4 */
5 #ifndef CONSOLE_PRIV_H
6 #define CONSOLE_PRIV_H
7
8 #include "ui/console.h"
9 #include "qemu/coroutine.h"
10 #include "qemu/timer.h"
11
12 struct QemuConsole {
13 Object parent;
14
15 int index;
16 DisplayState *ds;
17 DisplaySurface *surface;
18 DisplayScanout scanout;
19 DisplayGLCtx *gl;
20 int gl_block;
21 QEMUTimer *gl_unblock_timer;
22 int window_id;
23 QemuUIInfo ui_info;
24 QEMUTimer *ui_timer;
25 const GraphicHwOps *hw_ops;
26 void *hw;
27 CoQueue dump_queue;
28
29 QTAILQ_ENTRY(QemuConsole) next;
30 };
31
32 void qemu_text_console_update_size(QemuTextConsole *c);
33 void qemu_text_console_handle_keysym(QemuTextConsole *s, int keysym);
34
35 #endif