51 void Set(
int nPort,
const char *pszTitle);
81 std::vector<FileData> mFiles;
void OnPoll() override
Advance the step running now.
MCCreateSaveDirTask()
Construct an idle task.
void OnStart() override
List the files and start creating the directory.
~MCCreateSaveDirTask() override=default
Destroy the object.
void Set(int nPort, const char *pszTitle)
Prepare the task, and write the title the card's browser shows into g_MemcardIconSys.
Task that creates a directory.
Definition mcmkdirtask.h:12
Work that creates or replaces a file with a block of memory: open, write, and close.
Definition mcsavefiletask.h:13
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
One file the task saves.
Definition mccreatesavedirtask.h:29
String mName
Definition mccreatesavedirtask.h:30
const void * mData
Definition mccreatesavedirtask.h:31
int mSize
Definition mccreatesavedirtask.h:32