1
0

svc_fileread.cpp 673 B

123456789101112131415161718192021222324252627282930
  1. #include <precomp.h>
  2. #include <api/filereader/svc_filereadI.h>
  3. #define CBCLASS svc_fileReaderI
  4. START_DISPATCH;
  5. CB(ISMINE, isMine);
  6. CB(OPEN, open);
  7. CB(READ, read);
  8. CB(WRITE, write);
  9. VCB(CLOSE, close);
  10. VCB(ABORT, abort);
  11. CB(GETLENGTH, getLength);
  12. CB(GETPOS, getPos);
  13. CB(CANSEEK, canSeek);
  14. CB(SEEK, seek);
  15. CB(HASHEADERS,hasHeaders);
  16. CB(GETHEADER,getHeader);
  17. CB(EXISTS,exists);
  18. CB(REMOVE,remove);
  19. CB(REMOVEUNDOABLE,removeUndoable);
  20. CB(MOVE,move);
  21. CB(BYTESAVAILABLE,bytesAvailable);
  22. VCB(SETMETADATACALLBACK,setMetaDataCallback);
  23. CB(CANPREFETCH,canPrefetch);
  24. CB(CANSETEOF, canSetEOF);
  25. CB(SETEOF, setEOF);
  26. END_DISPATCH;
  27. #undef CBCLASS