aboutsummaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-12-10 17:16:04 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 08:17:32 -0600
commit3be42b28c14e2826eebbced68ad3ceb92507401d (patch)
treec1067b6decf75eb7992a7677e489c51d8bd058fd /console.h
parentee70ef8771a69e11c0814ab332c48efdf19ad0a2 (diff)
monitor: Convert do_info_mice() to QObject
Each mouse is represented by a QDict, the returned QObject is a QList of all mice. This commit should not change user output. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit e78c48ec4e192ef1b1a210bdf5a8d253d7826c25)
Diffstat (limited to 'console.h')
-rw-r--r--console.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/console.h b/console.h
index 9615f56364..c7172f6d3a 100644
--- a/console.h
+++ b/console.h
@@ -44,7 +44,8 @@ struct MouseTransformInfo {
int a[7];
};
-void do_info_mice(Monitor *mon);
+void do_info_mice_print(Monitor *mon, const QObject *data);
+void do_info_mice(Monitor *mon, QObject **ret_data);
void do_mouse_set(Monitor *mon, const QDict *qdict);
/* keysym is a unicode code except for special keys (see QEMU_KEY_xxx