wavelength 1.0.0
Loading...
Searching...
No Matches
mcloadfreqstask.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "game/campaign.h"
10
17public:
24 ~MCLoadFreqsTask() override = default;
25
33
42 void Set(int nPort, std::vector<Campaign> *pProfiles);
43
44private:
45 // The steps belong to the SerialTasks list.
46 MCGetInfoTask *mGetInfo;
47 MCGetDirTask *mGetDir;
48 MCLoadFreqFilesTask *mLoadFiles;
49};
Task that lists the entries matching a name into MemcardTask::sDirEntries and MemcardTask::sDirCount.
Definition mcgetdirtask.h:15
Task that reads the type, the free space, and the format of a card.
Definition mcgetinfotask.h:11
Task that loads every Freq file the last directory listing found into a list of profiles.
Definition mcloadfreqfilestask.h:15
void Set(int nPort, std::vector< Campaign > *pProfiles)
Prepare the work.
~MCLoadFreqsTask() override=default
Destroy the object.
MCLoadFreqsTask()
Construct the steps.
Memory card work made of MemcardTask steps that run one after another.
Definition memcardserialtask.h:13