winamp/Src/Wasabi/api/service/svcs/svc_fileread.cpp

31 lines
673 B
C++
Raw Normal View History

2024-09-24 13:54:57 +01:00
#include <precomp.h>
#include <api/filereader/svc_filereadI.h>
#define CBCLASS svc_fileReaderI
START_DISPATCH;
CB(ISMINE, isMine);
CB(OPEN, open);
CB(READ, read);
CB(WRITE, write);
VCB(CLOSE, close);
VCB(ABORT, abort);
CB(GETLENGTH, getLength);
CB(GETPOS, getPos);
CB(CANSEEK, canSeek);
CB(SEEK, seek);
CB(HASHEADERS,hasHeaders);
CB(GETHEADER,getHeader);
CB(EXISTS,exists);
CB(REMOVE,remove);
CB(REMOVEUNDOABLE,removeUndoable);
CB(MOVE,move);
CB(BYTESAVAILABLE,bytesAvailable);
VCB(SETMETADATACALLBACK,setMetaDataCallback);
CB(CANPREFETCH,canPrefetch);
CB(CANSETEOF, canSetEOF);
CB(SETEOF, setEOF);
END_DISPATCH;
#undef CBCLASS