wavelength 1.0.0
Loading...
Searching...
No Matches
mcgetremixnamestask.h
Go to the documentation of this file.
1#pragma once
2
5
13public:
20 ~MCGetRemixNamesTask() override = default;
21
29 void Set(int nPort);
30
31protected:
38 void OnStart() override;
39
46 void OnPoll() override;
47
48private:
55 void ListNextDir();
56
57 MCGetDirTask mGetDir;
58 int mDirIndex;
59};
Task that lists the entries matching a name into MemcardTask::sDirEntries and MemcardTask::sDirCount.
Definition mcgetdirtask.h:15
Task that lists the remix files of every remix directory into g_RemixNames.
Definition mcgetremixnamestask.h:12
~MCGetRemixNamesTask() override=default
Destroy the object.
void OnStart() override
Clear g_RemixNames and start listing the first directory.
void Set(int nPort)
Prepare the task.
void OnPoll() override
Add the files of a listed directory to g_RemixNames and list the next directory.
MemcardTask()
Construct an idle task for the first slot.
Definition memcardtask.h:41