Work that chooses the remix directory a remix is saved to, measures the space the save needs,...
Definition mccheckremixspaceneededtask.h:26
Task that creates the save directory at g_MemcardPath, with its icon, its icon.sys,...
Definition mccreatesavedirtask.h:18
Work that creates or replaces a file with a block of memory: open, write, and close.
Definition mcsavefiletask.h:13
void Set(int nPort, const char *pszName, RemixInfo *pInfo, const void *pData, int nSize, int nOverwrite)
Prepare the work, and serialise the description and the remix into g_pMemcardBuffer.
void OnSaveSpace(int nNeeded) override
Prepare the directory and the file steps when the save fits, and otherwise fail the measurement.
MCSaveRemixTask()
Construct the steps.
~MCSaveRemixTask() override=default
Destroy the object.
int GetNeeded()
Report the space a save that did not fit needed.
Memory card work made of MemcardTask steps that run one after another.
Definition memcardserialtask.h:13
Description of a saved remix.
Definition remixinfo.h:26
Receiver of the space a save needs, from the tasks that measure the space.
Definition savespaceuser.h:9
Growable text buffer that is also a PrnStream.
Definition string.h:19