home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-06-17 | 514 b | 33 lines | [TEXT/CWIE] |
- // ParamBlockTask.h
-
- #ifndef ParamBlockTask_h
- #define ParamBlockTask_h
-
- #ifndef A5_h
- #include "A5.h"
- #endif
- #ifndef Task_h
- #include "Task.h"
- #endif
- #ifndef __FILES__
- #include <Files.h>
- #endif
-
- class ParamBlockTask: public Task,
- public ParamBlockRec
- {
- private:
- A5 a5;
-
- static void Complete( ParamBlockRec *block );
- static void CompleteGlue();
-
- public:
- ParamBlockTask();
- ~ParamBlockTask() { Assert( !Running() ); }
-
- bool Running() const { return ioParam.ioResult > 0; }
- };
-
- #endif
-