From 48c46dfdd986ad4a7a0692d05992f7882bef6a88 Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Tue, 2 Jan 2007 19:18:27 +0000 Subject: - initial checkin --- tntconfig.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tntconfig.h (limited to 'tntconfig.h') diff --git a/tntconfig.h b/tntconfig.h new file mode 100644 index 0000000..ba31f97 --- /dev/null +++ b/tntconfig.h @@ -0,0 +1,28 @@ +#ifndef VDR_LIVE_TNTCONFIG_H +#define VDR_LIVE_TNTCONFIG_H + +#include + +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 -- cgit v1.2.3