summaryrefslogtreecommitdiff
path: root/hw/kdrive/src/kdrive.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-29 03:48:02 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-29 03:48:02 +0300
commit738d2e88171bcce8782d670a1cda9a1d941d7977 (patch)
treec4b8b3a8d2a074f3b31d7eb6ed0d6c3ce1b8fffe /hw/kdrive/src/kdrive.h
parent96e32805d12fc36f0fa0926dbfb0dd8a5cadb739 (diff)
kdrive: move bell ringing into an OS function
Move the bell into an OS function, and use that if it's declared; else, fall back to using the driver's function. Remove the Linux keyboard bell function; just move it into the OS layer. Use named initialisers when converting the old structures, and eliminate unused functions.
Diffstat (limited to 'hw/kdrive/src/kdrive.h')
-rw-r--r--hw/kdrive/src/kdrive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/kdrive/src/kdrive.h b/hw/kdrive/src/kdrive.h
index 15d703104..f0fc909ea 100644
--- a/hw/kdrive/src/kdrive.h
+++ b/hw/kdrive/src/kdrive.h
@@ -369,6 +369,7 @@ typedef struct _KdOsFuncs {
void (*Disable) (void);
void (*Fini) (void);
void (*pollEvents) (void);
+ void (*Bell) (int, int, int);
} KdOsFuncs;
typedef enum _KdSyncPolarity {