|
resonance 1.0.1
|
Deletion of one file or directory on a card. More...
#include <deletefileop.h>


Public Member Functions | |
| DeleteFileOp (MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie) | |
| Construct a deletion. | |
| virtual | ~DeleteFileOp () |
| virtual void | Execute () |
| virtual void | NotifyDone () |
| virtual void | InterpretResult () |
| Map the result through a jump table. | |
| Public Member Functions inherited from MemcardOp | |
| MemcardOp (MemcardCBHandler *pHandler, int nPortSlot, int nCookie) | |
| Construct an operation against one card slot, with no libmc call issued yet. | |
| MemcardOp (MemcardCBHandler *pHandler, int nCookie) | |
| Construct an operation against an open descriptor alone. | |
| virtual | ~MemcardOp () |
| Release the operation. | |
Public Attributes | |
| HxStr | mPath |
| The file or directory to delete. | |
| Public Attributes inherited from MemcardOp | |
| int | mCookie |
| Ticket number Memcard::Cancel() matches on. | |
| int | mIssued |
| Zero until Execute() has run, then 1 while libmc is servicing the call. | |
| int | mResult |
| The libmc result, as sceMcSync() delivered it. | |
| int | mStatus |
| One of MemcardStatus, written by InterpretResult(). | |
Additional Inherited Members | |
| Protected Attributes inherited from MemcardOp | |
| int | mPortSlot |
| MemcardCBHandler * | mHandler |
Deletion of one file or directory on a card.
Its RTTI descriptor is at 0x008efbe0. It has single inheritance from MemcardOp at offset 0. An instance is 0x24 bytes and the vtable is at 0x0082bc40.
| DeleteFileOp::DeleteFileOp | ( | MemcardCBHandler * | pHandler, |
| int | nPortSlot, | ||
| const HxStr & | path, | ||
| int | nCookie ) |
Construct a deletion.
| pHandler | The receiver NotifyDone() reports to. |
| nPortSlot | The packed port and slot. |
| path | The file or directory to delete. |
| nCookie | The tag Memcard::Cancel() matches on. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Map the result through a jump table.
The table at 0x0082c010 covers the seven libmc codes from sceMcResNotEmpty up to zero, indexed by the result plus six. A positive result falls outside the table and reports kMemcardStatusUnknown. This is the only operation that produces kMemcardStatusNoFile.
Reimplemented from MemcardOp.
| HxStr DeleteFileOp::mPath |
The file or directory to delete.
+0x1c