#pragma once #include "includes/toml.hpp" #include #include #include #include class KotoUiPreferences { public: KotoUiPreferences(std::optional v); ~KotoUiPreferences(); bool getAlbumInfoShowDescription(); bool getAlbumInfoShowGenre(); bool getAlbumInfoShowNarrator(); bool getAlbumInfoShowYear(); float getLastUsedVolume(); void setAlbumInfoShowDescription(bool show); void setAlbumInfoShowGenre(bool show); void setAlbumInfoShowNarrator(bool show); void setAlbumInfoShowYear(bool show); void setLastUsedVolume(float volume); private: bool i_albumInfoShowDescription; bool i_albumInfoShowGenre; bool i_albumInfoShowNarrator; bool i_albumInfoShowYear; float i_lastUsedVolume; };