mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
monitor: Port handler_1 to use QDict
This commit ports command handlers that receive one argument to use the new monitor's dictionary. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f96fc8a0f1
commit
d54908a55b
8 changed files with 67 additions and 47 deletions
|
@ -2,6 +2,7 @@
|
|||
#define CONSOLE_H
|
||||
|
||||
#include "qemu-char.h"
|
||||
#include "qdict.h"
|
||||
|
||||
/* keyboard/mouse support */
|
||||
|
||||
|
@ -44,7 +45,7 @@ struct MouseTransformInfo {
|
|||
};
|
||||
|
||||
void do_info_mice(Monitor *mon);
|
||||
void do_mouse_set(Monitor *mon, int index);
|
||||
void do_mouse_set(Monitor *mon, const QDict *qdict);
|
||||
|
||||
/* keysym is a unicode code except for special keys (see QEMU_KEY_xxx
|
||||
constants) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue