2022-09-12 17:09:27 +02:00
|
|
|
#include "RPiSdCardManager.h"
|
|
|
|
|
2022-09-27 17:36:19 +02:00
|
|
|
RPiSdCardManager::RPiSdCardManager(std::string prefix) : prefix(std::move(prefix)) {}
|
2022-09-12 17:09:27 +02:00
|
|
|
|
2022-09-27 17:36:19 +02:00
|
|
|
const std::string& RPiSdCardManager::getCurrentMountPrefix() const { return prefix; }
|
2022-09-12 17:09:27 +02:00
|
|
|
|
2022-10-05 14:38:48 +02:00
|
|
|
bool RPiSdCardManager::isSdCardUsable(sd::SdCard sdCard) { return true; }
|
2022-09-12 17:09:27 +02:00
|
|
|
|
2022-09-27 17:36:19 +02:00
|
|
|
std::optional<sd::SdCard> RPiSdCardManager::getPreferredSdCard() const { return std::nullopt; }
|
2022-09-12 17:09:27 +02:00
|
|
|
|
|
|
|
void RPiSdCardManager::setActiveSdCard(sd::SdCard sdCard) {}
|
|
|
|
|
2022-09-27 17:36:19 +02:00
|
|
|
std::optional<sd::SdCard> RPiSdCardManager::getActiveSdCard() const { return std::nullopt; }
|