summaryrefslogtreecommitdiff
path: root/include/ui/console.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-03-14 14:27:08 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-04-16 09:26:20 +0200
commit81c0d5a66295024d0a42e3d28efcd102a32f93c3 (patch)
treeda8afe97d7513f557980ce7aa39bc879fe79fc2a /include/ui/console.h
parentdea1b0bdd8b0bb9d76a012fd0f234ba1768a4a93 (diff)
downloadqemu-81c0d5a66295024d0a42e3d28efcd102a32f93c3.zip
console: add qemu_console_is_*
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/console.h')
-rw-r--r--include/ui/console.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 800f458b02..bcd013900a 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -282,8 +282,10 @@ void graphic_hw_update(QemuConsole *con);
void graphic_hw_invalidate(QemuConsole *con);
void graphic_hw_text_update(QemuConsole *con, console_ch_t *chardata);
-int is_graphic_console(void);
-int is_fixedsize_console(void);
+bool qemu_console_is_visible(QemuConsole *con);
+bool qemu_console_is_graphic(QemuConsole *con);
+bool qemu_console_is_fixedsize(QemuConsole *con);
+
void text_consoles_set_display(DisplayState *ds);
void console_select(unsigned int index);
void console_color_init(DisplayState *ds);