wavelength 1.0.0
Loading...
Searching...
No Matches
mcgetallremixinfostask.h
Go to the documentation of this file.
1#pragma once
2
3#include <list>
4#include <vector>
5
6#include "game/remixinfo.h"
9#include "os/string.h"
10
18public:
25 ~MCGetAllRemixInfosTask() override = default;
26
35 void Set(int nPort, std::vector<RemixInfo> *pInfos);
36
37protected:
45 void OnStart() override;
46
54 void OnPoll() override;
55
56private:
63 void ReadNext();
64
65 MCGetRemixInfoTask mInfo;
66 int mIndex;
67#ifndef VIDEO_STANDARD_PAL
68 std::list<String>::iterator mIter;
69#endif
70 std::vector<RemixInfo> *mInfos;
71};
Task that reads the RemixInfo of every remix file in g_RemixNames.
Definition mcgetallremixinfostask.h:17
void Set(int nPort, std::vector< RemixInfo > *pInfos)
Prepare the task.
~MCGetAllRemixInfosTask() override=default
Destroy the object.
void OnPoll() override
Decode a read description and start reading the next.
void OnStart() override
Size the descriptions to the files and start reading the first.
Work that reads the RemixInfo at the start of a remix file into mBuffer: open, read,...
Definition mcgetremixinfotask.h:15
MemcardTask()
Construct an idle task for the first slot.
Definition memcardtask.h:41