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/reds.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/reds.h')
-rw-r--r-- | server/reds.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/reds.h b/server/reds.h index 9a171f63..2ba73989 100644 --- a/server/reds.h +++ b/server/reds.h @@ -58,6 +58,10 @@ typedef struct Channel { void *data; } Channel; +struct SpiceKbdState { + int dummy; +}; + void reds_desable_mm_timer(); void reds_enable_mm_timer(); void reds_update_mm_timer(uint32_t mm_time); |