]> git.proxmox.com Git - mirror_qemu.git/blame - ui/console-priv.h
iotests: Test two stream jobs in a single iothread
[mirror_qemu.git] / ui / console-priv.h
CommitLineData
6f110819
MAL
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#include "vgafont.h"
13
14#define FONT_HEIGHT 16
15#define FONT_WIDTH 8
16
17struct QemuConsole {
18 Object parent;
19
20 int index;
21 DisplayState *ds;
22 DisplaySurface *surface;
23 DisplayScanout scanout;
24 int dcls;
25 DisplayGLCtx *gl;
26 int gl_block;
27 QEMUTimer *gl_unblock_timer;
28 int window_id;
29 QemuUIInfo ui_info;
30 QEMUTimer *ui_timer;
31 const GraphicHwOps *hw_ops;
32 void *hw;
33 CoQueue dump_queue;
34
35 QTAILQ_ENTRY(QemuConsole) next;
36};
37
38void qemu_text_console_select(QemuTextConsole *c);
39const char * qemu_text_console_get_label(QemuTextConsole *c);
40void qemu_text_console_update_cursor(void);
41void qemu_text_console_handle_keysym(QemuTextConsole *s, int keysym);
42
43#endif