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