13namespace display_device {
31 [[nodiscard]]
bool store(
const std::vector<std::uint8_t> &data)
override;
38 [[nodiscard]] std::optional<std::vector<std::uint8_t>>
load()
const override;
44 [[nodiscard]]
bool clear()
override;
47 std::filesystem::path m_filepath;
Implementation of the SettingsPersistenceInterface, that saves/loads the persistent settings to/from ...
Definition file_settings_persistence.h:18
std::optional< std::vector< std::uint8_t > > load() const override
Definition file_settings_persistence.cpp:41
bool clear() override
Definition file_settings_persistence.cpp:67
bool store(const std::vector< std::uint8_t > &data) override
Definition file_settings_persistence.cpp:24
FileSettingsPersistence(std::filesystem::path filepath)
Definition file_settings_persistence.cpp:17
A class for storing and loading settings data from a persistent medium.
Definition settings_persistence_interface.h:16
Declarations for the SettingsPersistenceInterface.