249 const HxStr &oldPath,
250 const HxStr &newPath,
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Receiver notified once a queued memory-card operation has finished.
Definition memcardcbhandler.h:34
One queued memory-card operation.
Definition memcardop.h:64
virtual ~Memcard()
Release the queue.
void DeleteFile(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie)
Queue the deletion of one file or directory.
void Close(MemcardCBHandler *pHandler, int nFile, int nCookie)
Queue a close of an open descriptor.
void Read(MemcardCBHandler *pHandler, int nPortSlot, int nFile, void *pBuffer, int nLength, int nCookie)
Queue a read from an open descriptor.
void EntSpace(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie)
Queue an enquiry about the free directory entries under one path.
void CreateDir(MemcardCBHandler *pHandler, int nPortSlot, HxStr path, int nCookie)
Queue the creation of one directory.
void RenameFile(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &oldPath, const HxStr &newPath, int nCookie)
Queue a rename.
void Write(MemcardCBHandler *pHandler, int nPortSlot, int nFile, const void *pBuffer, int nLength, int nCookie)
Queue a write to an open descriptor.
void Seek(MemcardCBHandler *pHandler, int nFile, int nOffset, int nOrigin, int nCookie)
Queue a move of the position of an open descriptor.
void Format(MemcardCBHandler *pHandler, int nPortSlot, int nCookie)
Queue a format of the card in one slot.
void Unformat(MemcardCBHandler *pHandler, int nPortSlot, int nCookie)
Queue an unformat of the card in one slot.
void OpenWrite(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie)
Queue an open for writing.
void ListDir(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie, unsigned nMode)
Queue a listing of one directory.
std::list< MemcardOp * > mOps
Definition memcard.h:267
void OpenRead(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie)
Queue an open for reading.
Memcard()
Construct an empty queue.
virtual void Update()
Advance the head of the queue by one step.
void Cancel(int nCookie)
Discard every queued operation that was queued with one tag.
void CheckInfo(MemcardCBHandler *pHandler, int nPortSlot, int nCookie)
Queue an enquiry about the card in one slot.