#ifndef SETTINGS_H #define SETTINGS_H #include "DataStructure.h" #include "Singleton.h" class Settings { friend class Amass::Singleton; public: void save(); void load(); ImageFormat imageFormat() const; int imageQuality() const; std::list supportedDevices() const; protected: Settings(); private: ImageFormat m_imageFormat = ImageFormat::Jpeg; // 0: jpg 1: yuv int m_imageQuality = 100; std::list m_supportedDevices{"RD_T009", "RD_T013"}; }; #endif // SETTINGS_H