home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / cprog / ev_201.zip / KEYBFCTS.H < prev    next >
C/C++ Source or Header  |  1993-07-03  |  1KB  |  51 lines

  1. #if !defined (KEYBFCTS)           /* Prevents multiple declarations errors */
  2. #define KEYBFCTS
  3.  
  4.  
  5. /*
  6.    Module        : KEYBFCTS.H
  7.    Version       : 2.0
  8.    Revision date : July 3rd, 1993
  9.    Author(s)     : Remy Gendron
  10.  
  11.    Description   : Keyboard related functions.
  12. */
  13.  
  14.  
  15. /* Macros ---------------------------------------------------------------- */
  16.  
  17. #include "stdmacro.h"
  18.  
  19.  
  20. /* Typedefs -------------------------------------------------------------- */
  21.  
  22. #include "stdtype.h"
  23.  
  24.  
  25. /* Prototypes ------------------------------------------------------------ */
  26.  
  27. #ifdef __cplusplus                     /* Enables linking with C++ modules */
  28. extern "C" {
  29. #endif
  30.  
  31. int far getkey                                /* Reads a key from keyboard */
  32. (
  33.    int  filter,                                   /* Filter (0 = all keys) */
  34.    bool buffer                              /* TRUE: Read from keyb buffer */
  35. ) ;
  36.  
  37. int far exttoascii        /* Converts 'ALT-letter|digit' to 'letter|digit' */
  38. (
  39.    int code                                        /* Code to be converted */
  40. ) ;
  41.  
  42.  
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46.  
  47.  
  48. /* End Header File ------------------------------------------------------- */
  49.  
  50. #endif
  51.