diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-02 19:18:27 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-02 19:18:27 +0000 |
commit | 48c46dfdd986ad4a7a0692d05992f7882bef6a88 (patch) | |
tree | 88a3a88a7ab43632850569cba3ab48a1924d9e52 /tntconfig.h | |
download | vdr-plugin-live-48c46dfdd986ad4a7a0692d05992f7882bef6a88.tar.gz vdr-plugin-live-48c46dfdd986ad4a7a0692d05992f7882bef6a88.tar.bz2 |
- initial checkin
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 |