Robin Mueller
90c1d45f20
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
22 lines
591 B
C++
22 lines
591 B
C++
#ifndef MISSION_MEMORY_SDCARDMOUNTERIF_H_
|
|
#define MISSION_MEMORY_SDCARDMOUNTERIF_H_
|
|
|
|
#include <optional>
|
|
#include <string>
|
|
|
|
#include "definitions.h"
|
|
|
|
class SdCardMountedIF {
|
|
public:
|
|
virtual ~SdCardMountedIF(){};
|
|
virtual const char* getCurrentMountPrefix() const = 0;
|
|
virtual bool isSdCardUsable(std::optional<sd::SdCard> sdCard) = 0;
|
|
virtual std::optional<sd::SdCard> getPreferredSdCard() const = 0;
|
|
virtual void setActiveSdCard(sd::SdCard sdCard) = 0;
|
|
virtual std::optional<sd::SdCard> getActiveSdCard() const = 0;
|
|
|
|
private:
|
|
};
|
|
|
|
#endif /* MISSION_MEMORY_SDCARDMOUNTERIF_H_ */
|