summaryrefslogtreecommitdiff
path: root/alias.h
diff options
context:
space:
mode:
Diffstat (limited to 'alias.h')
-rw-r--r--alias.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/alias.h b/alias.h
new file mode 100644
index 0000000..a691cb1
--- /dev/null
+++ b/alias.h
@@ -0,0 +1,28 @@
+/*
+ * GraphLCD plugin for the Video Disk Recorder
+ *
+ * alias.h - alias class for converting channel id to its alias name
+ *
+ * This file is released under the GNU General Public License. Refer
+ * to the COPYING file distributed with this package.
+ *
+ * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
+ * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+#ifndef _GRAPHLCD_ALIAS_H_
+#define _GRAPHLCD_ALIAS_H_
+
+#include <map>
+#include <string>
+
+class cChannelAliasList
+{
+private:
+ std::map<std::string, std::string> mAliases;
+public:
+ bool Load(const std::string & CfgPath);
+ std::string GetAlias(const std::string & ChannelID) const;
+};
+
+#endif