home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / CChoreQuartet 1.0.1 / CSelfCancelableChore.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  436 b   |  37 lines  |  [TEXT/KAHL]

  1. /*
  2.  * CSelfCancelableChore.h
  3.  *
  4.  */
  5.  
  6.  
  7.  
  8. /********************************/
  9.  
  10. #pragma once
  11.  
  12. /********************************/
  13.  
  14. #include <CChore.h>
  15.  
  16. /********************************/
  17.  
  18.  
  19.  
  20. class CSelfCancelableChore : public CChore {
  21.     
  22. public:
  23.     
  24.     void            cancelSelf(void);
  25.     Boolean        reallyPerform(void);
  26.     
  27.     void            setUrgent(Boolean theUrgent);
  28.     Boolean        getUrgent(void);
  29.     
  30. protected:
  31.     
  32.     Boolean        isUrgent;
  33.     Boolean        hasBeenCancelled;
  34.     
  35.     
  36. } ;
  37.