resonance 1.0.1
Loading...
Searching...
No Matches
renamefileop.h
Go to the documentation of this file.
1#pragma once
2
3#include "memcard/memcardop.h"
4#include "os/hxstr.h"
5
14class RenameFileOp : public MemcardOp {
15public:
28 int nPortSlot,
29 const HxStr &oldPath,
30 const HxStr &newPath,
31 int nCookie);
32
37 virtual ~RenameFileOp();
38
43 virtual void Execute();
44
49 virtual void NotifyDone();
50
58 virtual void InterpretResult();
59
62
65};
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Receiver notified once a queued memory-card operation has finished.
Definition memcardcbhandler.h:34
MemcardOp(MemcardCBHandler *pHandler, int nPortSlot, int nCookie)
Construct an operation against one card slot, with no libmc call issued yet.
HxStr mNewPath
The replacement name.
Definition renamefileop.h:64
virtual void InterpretResult()
Map sceMcResNoFormat to kMemcardStatusNotFormatted, sceMcResFullDevice to kMemcardStatusCardFull,...
RenameFileOp(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &oldPath, const HxStr &newPath, int nCookie)
Construct a rename.
virtual ~RenameFileOp()
virtual void Execute()
virtual void NotifyDone()
HxStr mOldPath
The existing name.
Definition renamefileop.h:61