// CFTTFile - [2020-04-13 11:57:46]
#ifndef _CFTTFILE_ASYNCIMMEDIATE_H_
#define _CFTTFILE_ASYNCIMMEDIATE_H_

#include "CFTTFile.h"

/*
00265864 CFTTFile_AsyncImmediate::~CFTTFile_AsyncImmediate()

002656FA CFTTFile_AsyncImmediate::ReadAsync(CFTTFile *,
                                            void *,
                                            long long,
                                            long long,
                                            void *,
                                            CFTTAsyncEvent<TFTTFileAsyncEventData> *)
0026579C CFTTFile_AsyncImmediate::WriteAsync(CFTTFile *,
                                             void const*,
                                             long long,
                                             long long,
                                             void *,
                                             CFTTAsyncEvent<TFTTFileAsyncEventData> *)

//0x34
*/
//-------------------------------------------------------------------------------------------------
class CFTTFile_AsyncImmediate : public CFTTFile_AsyncHandler {
public:
  virtual ~CFTTFile_AsyncImmediate();  // 00265864
  virtual bool ReadAsync(CFTTFile *pCFTTFile,
                         void *pbuf,
                         int64 read_pos,
                         int64 read_len,
                         void *pDat,
                         CFTTAsyncEvent<TFTTFileAsyncEventData> *pEventData);  // 002656FA

  virtual bool WriteAsync(CFTTFile *pCFTTFile,
                          void const *pbuf,
                          int64 write_pos,
                          int64 write_len,
                          void *pDat,
                          CFTTAsyncEvent<TFTTFileAsyncEventData> *pEventData);  // 0026579C
};

extern CFTTFile_AsyncImmediate g_tFTTFile_AsyncImmediate;

#endif  //_CFTTFILE_ASYNCIMMEDIATE_H_