home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / PowerPlant / CPullAppToFront / CPullAppToFront.h < prev   
Encoding:
Text File  |  1996-09-14  |  831 b   |  28 lines  |  [TEXT/R*ch]

  1. // ===========================================================================
  2. //    File:                        CPullAppToFront.h
  3. // Version:                    1.0 - May 7, 1996
  4. //    Author:                    Mike Shields (mshields@inconnect.com)
  5. //                            
  6. //    Copyright ©1996 Mike Shields. All rights reserved.
  7. // ===========================================================================
  8. //    CPullAppToFront.cp        <- double-click + Command-D to see class declaration
  9. //
  10. // LPeriodical derived class which will make the application the frontmost
  11. // app when it executes. It will then delete itself.
  12.  
  13. #pragma once
  14.  
  15. #include <LPeriodical.h>
  16.  
  17. class    CPullAppToFront : public LPeriodical
  18. {
  19. public:
  20.                         CPullAppToFront();
  21.     virtual            ~CPullAppToFront();
  22.     
  23.     virtual void    SpendTime(const EventRecord &inMacEvent);
  24.  
  25. protected:
  26.     virtual void    SpendTimeSelf(const EventRecord &inMacEvent);
  27. };
  28.