2022-02-25 16:33:22 +01:00
|
|
|
#ifndef MISSION_MEMORY_SDCARDMOUNTERIF_H_
|
|
|
|
#define MISSION_MEMORY_SDCARDMOUNTERIF_H_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2022-02-25 19:07:47 +01:00
|
|
|
#include "definitions.h"
|
|
|
|
|
2022-02-25 16:33:22 +01:00
|
|
|
class SdCardMountedIF {
|
2022-02-25 19:07:47 +01:00
|
|
|
public:
|
|
|
|
virtual ~SdCardMountedIF(){};
|
2022-02-25 16:33:22 +01:00
|
|
|
virtual std::string getCurrentMountPrefix(sd::SdCard prefSdCardPtr = sd::SdCard::NONE) = 0;
|
|
|
|
virtual bool isSdCardMounted(sd::SdCard sdCard) = 0;
|
2022-02-25 17:29:06 +01:00
|
|
|
virtual ReturnValue_t getPreferredSdCard(sd::SdCard& sdCard) const = 0;
|
2022-02-25 16:33:22 +01:00
|
|
|
|
2022-02-25 19:07:47 +01:00
|
|
|
private:
|
2022-02-25 16:33:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* MISSION_MEMORY_SDCARDMOUNTERIF_H_ */
|