summaryrefslogtreecommitdiff
path: root/glcdgraphics/common.h
diff options
context:
space:
mode:
authorandreas 'randy' weinberger <vdr@smue.org>2010-02-21 19:58:27 +0100
committerandreas 'randy' weinberger <vdr@smue.org>2010-02-21 19:58:27 +0100
commit10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3 (patch)
tree60ad7c856565f03e145b2996d1bb5f9cd64c0532 /glcdgraphics/common.h
downloadgraphlcd-base-10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3.tar.gz
graphlcd-base-10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3.tar.bz2
initial git upload, based on graphlcd-base-0.1.5
Diffstat (limited to 'glcdgraphics/common.h')
-rw-r--r--glcdgraphics/common.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/glcdgraphics/common.h b/glcdgraphics/common.h
new file mode 100644
index 0000000..2865602
--- /dev/null
+++ b/glcdgraphics/common.h
@@ -0,0 +1,26 @@
+/*
+ * GraphLCD graphics library
+ *
+ * common.h - various functions
+ *
+ * This file is released under the GNU General Public License. Refer
+ * to the COPYING file distributed with this package.
+ *
+ * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+#ifndef _GLCDGRAPHICS_COMMON_H_
+#define _GLCDGRAPHICS_COMMON_H_
+
+#include <string>
+
+namespace GLCD
+{
+
+void clip(int & value, int min, int max);
+void sort(int & value1, int & value2);
+std::string trim(const std::string & s);
+
+} // end of namespace
+
+#endif