summaryrefslogtreecommitdiff
path: root/glcdskin/config.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2010-04-17 19:16:26 +0200
committermrwastl <mrwastl@users.sourceforge.net>2010-04-17 19:16:26 +0200
commit68ac6628a31cb1472275b5282c5cf9a971d9bddd (patch)
tree0ef788b563efab6688b0381cedd43baaefbc66cc /glcdskin/config.h
parent1011961a8af0615ee25b79d2bbd7e6820b851556 (diff)
downloadgraphlcd-base-68ac6628a31cb1472275b5282c5cf9a971d9bddd.tar.gz
graphlcd-base-68ac6628a31cb1472275b5282c5cf9a971d9bddd.tar.bz2
backport of skin-support from 0.2.x to 0.1.x, changes for gcc 4.3 conformity
Diffstat (limited to 'glcdskin/config.h')
-rw-r--r--glcdskin/config.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/glcdskin/config.h b/glcdskin/config.h
new file mode 100644
index 0000000..f6c8af9
--- /dev/null
+++ b/glcdskin/config.h
@@ -0,0 +1,42 @@
+/*
+ * GraphLCD skin library
+ *
+ * config.h - config class
+ *
+ * This file is released under the GNU General Public License. Refer
+ * to the COPYING file distributed with this package.
+ *
+ * based on text2skin
+ *
+ */
+
+#ifndef _GLCDSKIN_CONFIG_H_
+#define _GLCDSKIN_CONFIG_H_
+
+#include <string>
+
+
+namespace GLCD
+{
+
+class cType;
+class cFont;
+struct tSkinToken;
+
+class cSkinConfig
+{
+public:
+ virtual ~cSkinConfig() {};
+
+ virtual std::string SkinPath(void);
+ virtual std::string FontPath(void);
+ virtual std::string CharSet(void);
+ virtual std::string Translate(const std::string & Text);
+ virtual cType GetToken(const tSkinToken & Token);
+ virtual int GetTokenId(const std::string & Name);
+ virtual int GetTabPosition(int Index, int MaxWidth, const cFont & Font);
+};
+
+} // end of namespace
+
+#endif