resonance 1.0.1
Loading...
Searching...
No Matches
openwriteop.h
Go to the documentation of this file.
1#pragma once
2
3#include "memcard/memcardop.h"
4#include "os/hxstr.h"
5
15class OpenWriteOp : public MemcardOp {
16public:
27 OpenWriteOp(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie);
28
33 virtual ~OpenWriteOp();
34
39 virtual void Execute();
40
45 virtual void NotifyDone();
46
56 virtual void InterpretResult();
57
60
62 int mFile;
63};
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.
virtual void NotifyDone()
virtual void InterpretResult()
Record the descriptor, or map the failure through a jump table.
OpenWriteOp(MemcardCBHandler *pHandler, int nPortSlot, const HxStr &path, int nCookie)
Construct an open for writing.
HxStr mPath
The file to open.
Definition openwriteop.h:59
virtual void Execute()
virtual ~OpenWriteOp()
int mFile
The descriptor, valid once mStatus is kMemcardStatusOk.
Definition openwriteop.h:62