summaryrefslogtreecommitdiffhomepage
path: root/config.h
blob: 4f589ff11f409bd22f1f2e2b1b041ecec8d65aec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <string>

const std::string default_config_filename{"/etc/whiteboard.conf"};

class Config
{
private:
 std::string m_dataPath;
 uint64_t m_maxage;

public:
 Config(const std::string& config_filename = default_config_filename);
 std::string getDataPath() const;
 uint64_t getMaxage() const;
};