home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ICLUI.ZIP / HELLO6 / ATIMEHDR.HPP < prev    next >
Text File  |  1993-02-23  |  2KB  |  35 lines

  1. #ifndef ATIMEHANDER_HPP
  2. #define ATIMEHANDER_HPP
  3. /******************************************************************************/
  4. /* HELLO WORLD SAMPLE PROGRAM - Version 6: Class Header (ATIMEHDR.HPP)        */
  5. /*                                                                            */
  6. /* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993. */
  7. /*                                                                            */
  8. /* DISCLAIMER OF WARRANTIES:                                                  */
  9. /*   The following [enclosed] code is sample code created by IBM              */
  10. /*   Corporation.  This sample code is not part of any standard IBM product   */
  11. /*   and is provided to you solely for the purpose of assisting you in the    */
  12. /*   development of your applications.  The code is provided "AS IS",         */
  13. /*   without warranty of any kind.  IBM shall not be liable for any damages   */
  14. /*   arising out of your use of the sample code, even if they have been       */
  15. /*   advised of the possibility of such damages.                              */
  16. /******************************************************************************/
  17. // NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE
  18.  
  19. //**************************************************************************
  20. // The entire file was created at version 6                                *
  21. //**************************************************************************
  22.  
  23. #include <ihandler.hpp>                 //Include IHandler
  24.  
  25. class ATimeHandler : public IHandler  //Create ATimeHandler Class
  26. {
  27.   public:
  28.             Boolean   dispatchHandlerEvent(IEvent& evt);
  29.             IHandler& handleEventsFor(IWindow *window);
  30.             IHandler& stopHandlingEventsFor(IWindow *window );
  31.   protected:
  32.     virtual Boolean tick(IEvent& evt);  //Send Tick for every WM_TIMER
  33. } ;
  34. #endif
  35.