wavelength 1.0.0
Loading...
Searching...
No Matches
mcmkdirtask.h
Go to the documentation of this file.
1#pragma once
2
4#include "os/string.h"
5
12class MCMkDirTask : public MemcardTask {
13public:
20 ~MCMkDirTask() override = default;
21
23 MCMkDirTask() : mName(nullptr) {
24 }
25
34 void Set(int nPort, const char *pszName);
35
43 void OnMkdir(int nResult) override;
44
45private:
46 String mName;
47
48protected:
55 void OnStart() override;
56};
MCMkDirTask()
Construct an idle task.
Definition mcmkdirtask.h:23
void OnStart() override
Issue the command.
void OnMkdir(int nResult) override
Record the outcome and finish.
void Set(int nPort, const char *pszName)
Prepare the task.
~MCMkDirTask() override=default
Destroy the object.
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