home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / timerev.idl < prev    next >
Encoding:
Text File  |  1996-02-21  |  1.2 KB  |  53 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 timerev_idl
  15. #define timerev_idl
  16.  
  17. #include <event.idl>
  18.  
  19. interface SOMETimerEvent : SOMEEvent
  20.  
  21. // SOMETimerEvent is the class for generic timer events within the Event Manager.
  22. // This class should be queried for events of the following type(s):
  23. //      EMTimerEvent
  24. // An instance of this class is initialized and passed to the callback
  25. // of a timer event.
  26. {
  27.   long somevGetEventInterval();
  28.  
  29.   // Returns the interval of the generic timer event (time in milliseconds)
  30.  
  31.   void somevSetEventInterval(in long interval);
  32.  
  33.   // Sets the interval of the generic timer event (time in milliseconds)
  34.  
  35. #ifdef __SOMIDL__
  36.   implementation {
  37.  
  38.     releaseorder: somevGetEventInterval,somevSetEventInterval;
  39.  
  40.     majorversion = 2;
  41.     minorversion = 1;
  42.     filestem = timerev;
  43.     callstyle = idl;
  44.  
  45.  
  46.     somInit: override;
  47.  
  48.   };
  49. #endif /* __SOMIDL__ */
  50. };
  51.  
  52. #endif  /* timerev_idl */
  53.