diff options
Diffstat (limited to 'tntconfig.h')
-rw-r--r-- | tntconfig.h | 28 |
1 files changed, 28 insertions, 0 deletions
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 <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 |