api_filereader.cpp 649 B

1234567891011121314151617181920
  1. #include <precomp.h>
  2. #include "api_filereader.h"
  3. #ifdef CBCLASS
  4. #undef CBCLASS
  5. #endif
  6. #define CBCLASS api_fileReaderI
  7. START_DISPATCH;
  8. CB(API_FILEREADER_FILEOPEN, fileOpen);
  9. VCB(API_FILEREADER_FILECLOSE, fileClose);
  10. CB(API_FILEREADER_FILEREAD, fileRead);
  11. CB(API_FILEREADER_FILEWRITE, fileWrite);
  12. CB(API_FILEREADER_FILESEEK, fileSeek);
  13. CB(API_FILEREADER_FILETELL, fileTell);
  14. CB(API_FILEREADER_FILEGETFILESIZE, fileGetFileSize);
  15. // CB(API_FILEREADER_FILEEXISTS, fileExists);
  16. CB(API_FILEREADER_FILEREMOVE, fileRemove);
  17. CB(API_FILEREADER_FILEREMOVEUNDOABLE, fileRemoveUndoable);
  18. CB(API_FILEREADER_FILEMOVE, fileMove);
  19. END_DISPATCH;