home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / keymap_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-29  |  881 b   |  40 lines

  1. #ifndef  CLIB_KEYMAP_PROTOS_H
  2. #define  CLIB_KEYMAP_PROTOS_H
  3.  
  4. /*
  5. **    $VER: keymap_protos.h 36.4 (19.7.90)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  DEVICES_INPUTEVENT_H
  15. #include <devices/inputevent.h>
  16. #endif
  17. #ifndef  DEVICES_KEYMAP_H
  18. #include <devices/keymap.h>
  19. #endif
  20.  
  21. #ifdef __cplusplus
  22. #define CLIBCPLUSON
  23. #pragma -
  24. #endif
  25.  
  26. /*--- functions in V36 or higher (Release 2.0) ---*/
  27. void SetKeyMapDefault( struct KeyMap *keyMap );
  28. struct KeyMap *AskKeyMapDefault( void );
  29. WORD MapRawKey( struct InputEvent *event, STRPTR buffer, long length,
  30.     struct KeyMap *keyMap );
  31. LONG MapANSI( STRPTR string, long count, STRPTR buffer, long length,
  32.     struct KeyMap *keyMap );
  33.  
  34. #ifdef CLIBCPLUSON
  35. #undef CLIBCPLUSON
  36. #pragma +
  37. #endif
  38.  
  39. #endif     /* CLIB_KEYMAP_PROTOS_H */
  40.