home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / Sessions / Completions / Completions Source / Files / FileCreator.h < prev    next >
Encoding:
Text File  |  1998-06-13  |  348 b   |  23 lines  |  [TEXT/CWIE]

  1. // FileCreator.h
  2.  
  3. #ifndef FileCreator_h
  4. #define FileCreator_h
  5.  
  6. #ifndef HParamBlockTask_h
  7. #include "HParamBlockTask.h"
  8. #endif
  9.  
  10. class FileCreator: private HParamBlockTask
  11.   {
  12.     private:
  13.         virtual void Launch();
  14.         virtual void Kill();
  15.         
  16.     public:
  17.         Task *operator()( const FSSpec& );
  18.         
  19.         OSErr Error() const        { return ioParam.ioResult; }
  20.   };
  21.  
  22. #endif
  23.