home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / eventmsk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-24  |  1.2 KB  |  47 lines

  1. /*
  2.  *   COMPONENT_NAME: somu
  3.  *
  4.  *   ORIGINS: 27
  5.  *
  6.  *
  7.  *   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  8.  *   All Rights Reserved
  9.  *   Licensed Materials - Property of IBM
  10.  *   US Government Users Restricted Rights - Use, duplication or
  11.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12.  */
  13. /* %Z% %I% %W% %G% %U% [%H% %T%] */
  14.  
  15. /*
  16.  */
  17.  
  18. #ifndef H_EVENTMASKDEF
  19. #define H_EVENTMASKDEF
  20.  
  21. /* Event Types */
  22. #define EMTimerEvent                    54 
  23. #define EMSignalEvent                   55 
  24. #define EMSinkEvent                     56 
  25.  
  26. #define EMWorkProcEvent                 57 
  27.  
  28. #define EMClientEvent                   58
  29.  
  30. #define EMMsgQEvent            59
  31.  
  32. /* Sink input/output condition mask */
  33.  
  34. #define EMInputReadMask            (1L<<0)
  35. #define EMInputWriteMask        (1L<<1)
  36. #define EMInputExceptMask        (1L<<2)
  37.  
  38. /* Process Event mask */
  39.  
  40. #define EMProcessTimerEvent             (1L<<0)
  41. #define EMProcessSinkEvent              (1L<<1)
  42. #define EMProcessWorkProcEvent          (1L<<2)
  43. #define EMProcessClientEvent            (1L<<3)
  44. #define EMProcessAllEvents              (1L<<6)
  45.  
  46. #endif   /* H_EVENTMASKDEF */
  47.