wavelength 1.0.0
Loading...
Searching...
No Matches
mcformattask.h
Go to the documentation of this file.
1#pragma once
2
4
10class MCFormatTask : public MemcardTask {
11public:
18 ~MCFormatTask() override = default;
19
27 void Set(int nPort);
28
36 void OnFormat(int nResult) override;
37
38protected:
45 void OnStart() override;
46};
Task that formats a card.
Definition mcformattask.h:10
~MCFormatTask() override=default
Destroy the object.
void OnFormat(int nResult) override
Record the outcome and finish.
void OnStart() override
Issue the command.
void Set(int nPort)
Prepare the task.
MemcardTask()
Construct an idle task for the first slot.
Definition memcardtask.h:41