wavelength 1.0.0
Loading...
Searching...
No Matches
mcopentask.h
Go to the documentation of this file.
1#pragma once
2
4#include "os/string.h"
5
11class MCOpenTask : public MemcardTask {
12public:
19 ~MCOpenTask() override = default;
20
22 MCOpenTask() : mName(nullptr) {
23 }
24
34 void Set(int nPort, const char *pszName, int nMode);
35
43 void OnOpen(int nResult) override;
44
45private:
46 String mName;
47 int mMode;
48
49protected:
56 void OnStart() override;
57};
void OnOpen(int nResult) override
Record the descriptor and the outcome, and finish.
void OnStart() override
Issue the command.
~MCOpenTask() override=default
Destroy the object.
MCOpenTask()
Construct an idle task.
Definition mcopentask.h:22
void Set(int nPort, const char *pszName, int nMode)
Prepare the task.
MemcardTask()
Construct an idle task for the first slot.
Definition memcardtask.h:41
Growable text buffer that is also a PrnStream.
Definition string.h:19