home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / emregdat.idl < prev    next >
Text File  |  1999-02-22  |  2KB  |  87 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. //#  @(#) 2.8 src/somem/emregdat.idl, somu, som2.1 9/1/94 17:45:56 [7/30/96 14:46:09]
  14.  
  15.  
  16. #ifndef emregdat_idl
  17. #define emregdat_idl
  18.  
  19. #include <somobj.idl>
  20.  
  21. interface SOMEEMRegisterData : SOMObject
  22.  
  23. // SOMEEMRegisterData is the class utilized for holding registration
  24. // data for events types to be registered with Event Management Framework(EMan)
  25.  
  26. {
  27.   void someClearRegData();
  28.  
  29.   // Clears the registration data
  30.  
  31.   void someSetRegDataClientType(in string clientType);
  32.  
  33.   // Sets the client event type within the registration data
  34.  
  35.   void someSetRegDataEventMask(in long eventType, in va_list ap);
  36.  
  37.   // Sets the generic event mask within the registration data, using NULL terminated
  38.   // event type list. Event types are defined in eventmsk.h
  39.  
  40.   void someSetRegDataSink(in long sink);
  41.  
  42.   // Sets the sink, or source i/o file descriptor, within the registration data
  43.  
  44.   void someSetRegDataSinkMask(in unsigned long sinkMask);
  45.  
  46.   // Sets the sink mask within the registration data
  47.  
  48.   void someSetRegDataTimerCount(in long count);
  49.  
  50.   // Sets the number of times the timer will trigger, within the registration data.
  51.   // The default behavior is for the timer to trigger indefinitely.
  52.  
  53.   void someSetRegDataTimerInterval(in long interval);
  54.  
  55.   // Sets the timer interval within the registration data.
  56.   // Interval specification is in milliseconds
  57.  
  58.  
  59.  
  60.  
  61. #ifdef __SOMIDL__
  62.   implementation {
  63.  
  64.     releaseorder: someClearRegData,someSetRegDataClientType,someSetRegDataEventMask,
  65.                   someSetRegDataSink,someSetRegDataSinkMask,
  66.                   someSetRegDataTimerCount,someSetRegDataTimerInterval
  67.                   ;
  68.  
  69.     //# Class Modifiers
  70.     majorversion = 2;
  71.     minorversion = 1;
  72.     filestem = emregdat;
  73.     callstyle = idl;
  74.  
  75.  
  76.     //# Method Modifiers
  77.     somInit: override;
  78.     somUninit: override;
  79.  
  80.     //# Data Modifiers
  81.  
  82.   };
  83. #endif /* __SOMIDL__ */
  84. };
  85.  
  86. #endif  /* emregdat_idl */
  87.