1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html 2 3 #ifndef SPECTMORPH_CONFIG_HH 4 #define SPECTMORPH_CONFIG_HH 5 6 #include "smutils.hh" 7 8 #include <vector> 9 10 namespace SpectMorph 11 { 12 13 class Config 14 { 15 int m_zoom = 100; 16 std::vector<std::string> m_debug; 17 std::string m_font; 18 std::string m_font_bold; 19 20 std::string get_config_filename(); 21 public: 22 Config(); 23 24 int zoom() const; 25 void set_zoom (int z); 26 27 std::vector<std::string> debug(); 28 29 std::string font() const; 30 std::string font_bold() const; 31 32 void store(); 33 }; 34 35 } 36 37 #endif 38