home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / timerev.idl < prev    next >
Text File  |  1999-02-22  |  1KB  |  61 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.7 src/somem/timerev.idl, somu, som2.1 9/1/94 17:45:34 [7/30/96 14:46:14]
  14.  
  15.  
  16. #ifndef timerev_idl
  17. #define timerev_idl
  18.  
  19. #include <event.idl>
  20.  
  21. interface SOMETimerEvent : SOMEEvent
  22.  
  23. // SOMETimerEvent is the class for generic timer events within the Event Manager.
  24. // This class should be queried for events of the following type(s):
  25. //      EMTimerEvent
  26. // An instance of this class is initialized and passed to the callback
  27. // of a timer event.
  28. {
  29.   long somevGetEventInterval();
  30.  
  31.   // Returns the interval of the generic timer event (time in milliseconds)
  32.  
  33.   void somevSetEventInterval(in long interval);
  34.  
  35.   // Sets the interval of the generic timer event (time in milliseconds)
  36.  
  37.  
  38.  
  39. #ifdef __SOMIDL__
  40.   implementation {
  41.  
  42.     releaseorder: somevGetEventInterval,somevSetEventInterval;
  43.  
  44.     //# Class Modifiers
  45.     majorversion = 2;
  46.     minorversion = 1;
  47.     filestem = timerev;
  48.     callstyle = idl;
  49.  
  50.  
  51.     //# Method Modifiers
  52.     somInit: override;
  53.  
  54.     //# Data Modifiers
  55.  
  56.   };
  57. #endif /* __SOMIDL__ */
  58. };
  59.  
  60. #endif  /* timerev_idl */
  61.