mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
console: make DisplayState private to console.c
With gui_* being moved to console.c nobody outside console.c needs access to DisplayState fields any more. Make the struct private. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
98a9ad9082
commit
27be55872d
2 changed files with 8 additions and 8 deletions
|
@ -157,6 +157,14 @@ struct QemuConsole {
|
|||
QEMUTimer *kbd_timer;
|
||||
};
|
||||
|
||||
struct DisplayState {
|
||||
struct QEMUTimer *gui_timer;
|
||||
bool have_gfx;
|
||||
bool have_text;
|
||||
|
||||
QLIST_HEAD(, DisplayChangeListener) listeners;
|
||||
};
|
||||
|
||||
static DisplayState *display_state;
|
||||
static QemuConsole *active_console;
|
||||
static QemuConsole *consoles[MAX_CONSOLES];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue