summaryrefslogtreecommitdiff
path: root/alias.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2010-05-04 21:03:19 +0200
committermrwastl <mrwastl@users.sourceforge.net>2010-05-04 21:03:19 +0200
commit8a4168bd0d2e468604755398f18be1fba9046aa0 (patch)
tree56558e0517e3b63483a2813146563eaf0371c666 /alias.h
parent75ebec3efc4879fc8bee8a3ecfe71809d9fccefd (diff)
downloadvdr-plugin-graphlcd-8a4168bd0d2e468604755398f18be1fba9046aa0.tar.gz
vdr-plugin-graphlcd-8a4168bd0d2e468604755398f18be1fba9046aa0.tar.bz2
initial git upload, based on graphlcd-0.2.0-pre2
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