wavelength 1.0.0
Loading...
Searching...
No Matches
mcfindremixtask.h
Go to the documentation of this file.
1#pragma once
2
5#include "os/string.h"
6
14public:
21 ~MCFindRemixTask() override = default;
22
29 MCFindRemixTask() = default;
30
39 void Set(int nPort, const char *pszName);
40
41protected:
48 void OnStart() override;
49
56 void OnPoll() override;
57
58private:
65 void SearchNextDir();
66
67 String mReserved10; // +0x10, never read.
68 MCGetDirTask mGetDir;
69 int mDirIndex;
70 String mName;
71};
~MCFindRemixTask() override=default
Destroy the object.
void Set(int nPort, const char *pszName)
Prepare the task.
MCFindRemixTask()=default
Construct the task.
void OnStart() override
Clear g_RemixPath and start searching the first directory.
void OnPoll() override
Record the path once a directory includes the file, or search the next directory.
Task that lists the entries matching a name into MemcardTask::sDirEntries and MemcardTask::sDirCount.
Definition mcgetdirtask.h:15
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