diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-03-30 11:57:02 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-05-19 11:22:06 +0200 |
commit | 4461c749187a704a1d17b29695cf9f8a68cd3f80 (patch) | |
tree | b111d6932a53106406ad48d5b56aa534352397ea /server/spice.h | |
parent | 10e6d8b53cf89b9e7c58b0696f078d18af21827e (diff) | |
download | spice-4461c749187a704a1d17b29695cf9f8a68cd3f80.tar.gz spice-4461c749187a704a1d17b29695cf9f8a68cd3f80.tar.xz spice-4461c749187a704a1d17b29695cf9f8a68cd3f80.zip |
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.
Diffstat (limited to 'server/spice.h')
-rw-r--r-- | server/spice.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |