eive-obsw/mission/memory/SdCardMountedIF.h

21 lines
526 B
C
Raw Normal View History

2022-03-01 17:41:58 +01:00
#ifndef MISSION_MEMORY_SDCARDMOUNTERIF_H_
#define MISSION_MEMORY_SDCARDMOUNTERIF_H_
#include <string>
#include "definitions.h"
class SdCardMountedIF {
public:
virtual ~SdCardMountedIF(){};
2022-05-24 00:20:23 +02:00
virtual std::string getCurrentMountPrefix() const = 0;
2022-09-27 10:51:07 +02:00
virtual bool isSdCardUsable(sd::SdCard sdCard) = 0;
2022-05-24 00:20:23 +02:00
virtual sd::SdCard getPreferredSdCard() const = 0;
virtual void setActiveSdCard(sd::SdCard sdCard) = 0;
virtual sd::SdCard getActiveSdCard() const = 0;
2022-05-24 00:52:08 +02:00
2022-03-01 17:41:58 +01:00
private:
};
#endif /* MISSION_MEMORY_SDCARDMOUNTERIF_H_ */