Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

keybd.h

Go to the documentation of this file.
00001 /*************************************************************************
00002 *   FILE: keybd.h
00003 * AUTHOR: CAL
00004 * DATE: 18 April 1993
00005 * PURPOSE:
00006 *   Keybd class serves as an interface between the UI and the
00007 *   keyboard.  It generates messages based on keyboard events
00008 *   containing character codes and scan codes.
00009 **************************************************************************/
00010 
00011 #ifndef _KEYBD_H
00012 #define _KEYBD_H
00013 
00014 #include "messages.h"
00015 
00016 
00017 /**********************************************************************
00018 * Keybd Class
00019 ***********************************************************************/
00020 
00021 class Keybd
00022 {
00023 public:
00024   Message Event ();     // Get last keybd event (or Idle)
00025   Message WaitForAnyEvent ();   // Wait for any keybd event
00026   Message WaitForEvent (Message&);  // Wait for specific keybd event
00027   void Flush (void);
00028 };
00029 
00030 
00031 extern Keybd Keys;    // Global instance
00032 
00033 #endif
00034 

Generated on Sun Jul 6 23:07:15 2003 for Scotland Yard by doxygen1.2.15