1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#pragma once #include <string> const std::string default_config_filename{"/etc/whiteboard.conf"}; class Config { private: std::string m_dataPath; public: Config(const std::string& config_filename = default_config_filename); std::string getDataPath() const; };