//CFTTJob - [2020-04-13 11:57:46]
#ifndef _CFTTJOB_H_
#define _CFTTJOB_H_

#include "CFTTAsyncEvent.h"

/*
002659FE CFTTJob::CFTTJob()
00265A0E CFTTJob::CFTTJob(void (*)(CFTTJob*,void *),void *,CFTTAsyncEvent<CFTTJob*> *)
00265A2C CFTTJob::~CFTTJob()
00265A26 CFTTJob::SetJob(void (*)(CFTTJob*,void *),void *,CFTTAsyncEvent<CFTTJob*> *)
*/

class CFTTJob;
typedef void (*Func_Job)(CFTTJob*, void*);

class CFTTJob {
public:
  CFTTJob();  //002659FE
  CFTTJob(Func_Job func,
          void* func_arg,
          CFTTAsyncEvent<CFTTJob*>* pEvent);  //00265A0E
  ~CFTTJob();                                 //00265A2C
  void SetJob(Func_Job func,
              void* func_arg,
              CFTTAsyncEvent<CFTTJob*>* pEvent);  //00265A26

  CFTTJob* pPreJob_0;  //前一个Job
  Func_Job func_4;     //释放job函数
  void* arg_8;
  CFTTAsyncEvent<CFTTJob*>* pEvent_C;
  bool bool_10;
  bool unuse_11[3];
};

#endif  //_CFTTJOB_H_