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