wavelength 1.0.0
Loading...
Searching...
No Matches
mccheckdirexiststask.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef VIDEO_STANDARD_PAL
4
8#include "os/string.h"
9
17class MCCheckDirExistsTask : public MemcardTask {
18public:
24 ~MCCheckDirExistsTask() override = default;
25
34 void Set(int nPort, const char *pszDir, MemcardSerialTask *pUser);
35
36protected:
42 void OnStart() override;
43
50 void OnPoll() override;
51
52private:
62 void CheckFiles(int *pbDamaged, int *pbWhole);
63
64 String mDir;
65 MCGetDirTask mGetDir;
66 MemcardSerialTask *mUser;
67};
68
69#endif
Task that issues one memory card command and ends when the command reports its result.
Definition memcardtask.h:15
void OnPoll() override
Advance the memory card command in flight.
virtual void OnStart()
Begin the work.
Definition task.h:87