summaryrefslogtreecommitdiff
path: root/tntconfig.h
blob: ba31f9776fda4bac7c9cbffa21c68f71ec9c931e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef VDR_LIVE_TNTCONFIG_H
#define VDR_LIVE_TNTCONFIG_H

#include <string>

namespace vdrlive {

class TntConfig
{
public:
	static TntConfig const& Get();

	std::string const& GetConfigPath() const { return m_configPath; }

private:
	std::string m_propertiesPath;
	std::string m_configPath;

	TntConfig();
	TntConfig( TntConfig const& );

	void WriteProperties();
	void WriteConfig();
};

} // namespace vdrlive

#endif // VDR_LIVE_TNTCONFIG_H