wavelength 1.0.0
Loading...
Searching...
No Matches
mcseektask.h
Go to the documentation of this file.
1#pragma once
2
4
10class MCSeekTask : public MemcardTask {
11public:
18 ~MCSeekTask() override = default;
19
28 void Set(int nOffset, int nMode);
29
37 void OnSeek(int nResult) override;
38
39private:
40 int mOffset;
41 int mMode;
42
43protected:
50 void OnStart() override;
51};
Task that moves the position of the file MemcardTask::sFd identifies.
Definition mcseektask.h:10
~MCSeekTask() override=default
Destroy the object.
void OnSeek(int nResult) override
Record the outcome and finish.
void OnStart() override
Issue the command.
void Set(int nOffset, int nMode)
Prepare the task.
MemcardTask()
Construct an idle task for the first slot.
Definition memcardtask.h:41