summaryrefslogtreecommitdiff
path: root/tntconfig.h
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-02 19:18:27 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-02 19:18:27 +0000
commit48c46dfdd986ad4a7a0692d05992f7882bef6a88 (patch)
tree88a3a88a7ab43632850569cba3ab48a1924d9e52 /tntconfig.h
downloadvdr-plugin-live-48c46dfdd986ad4a7a0692d05992f7882bef6a88.tar.gz
vdr-plugin-live-48c46dfdd986ad4a7a0692d05992f7882bef6a88.tar.bz2
- initial checkin
Diffstat (limited to 'tntconfig.h')
-rw-r--r--tntconfig.h28
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