From 4461c749187a704a1d17b29695cf9f8a68cd3f80 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 30 Mar 2010 11:57:02 +0200 Subject: KeyboardInterface: redesign. This is the direction I wanna take with all interfaces: Clearly separate interface (aka version information and function pointers) and state information. SpiceKbdInterface defines the interface, SpiceKbdInstance maintains per-instance state information. Keyboard hasn't much beside a pointer to SpiceKbdInterface, for other interfaces this very likely will be different. --- server/spice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/spice.h') diff --git a/server/spice.h b/server/spice.h index caf2830f..8a7764e2 100644 --- a/server/spice.h +++ b/server/spice.h @@ -44,7 +44,7 @@ int spice_server_add_interface(SpiceServer *s, SpiceBaseInstance *sin, int id); int spice_server_remove_interface(SpiceBaseInstance *sin); -int spice_server_kbd_leds(SpiceBaseInstance *sin, int leds); +int spice_server_kbd_leds(SpiceKbdInstance *sin, int leds); typedef enum { SPICE_IMAGE_COMPRESS_INVALID = 0, -- cgit