Added safety #defines to prevent from loading the file twice
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@345
This commit is contained in:
parent
b950a89a3b
commit
97b0714271
1 changed files with 4 additions and 1 deletions
|
@ -16,6 +16,9 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef _KEYBOARD_H_
|
||||
#define _KEYBOARD_H_
|
||||
|
||||
typedef void(KEYBOARD_EventHandler)(void);
|
||||
void KEYBOARD_AddCode(Bit8u code);
|
||||
void KEYBOARD_AddKey(Bitu keytype,bool pressed);
|
||||
|
@ -51,4 +54,4 @@ enum {
|
|||
KBD_LAST
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue