summaryrefslogtreecommitdiff
path: root/glcdgraphics/common.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2011-06-03 18:27:37 +0200
committermrwastl <mrwastl@users.sourceforge.net>2011-06-03 18:27:37 +0200
commit3ce10a1e896258a73e30ad7a17b99a82c286f8c3 (patch)
treeb44c8eabf7cbd59f5d1667602f1c9f5e47ff67dc /glcdgraphics/common.h
parent90c80f6f57e45780d64c63908ca7813290bdd9ad (diff)
downloadgraphlcd-base-3ce10a1e896258a73e30ad7a17b99a82c286f8c3.tar.gz
graphlcd-base-3ce10a1e896258a73e30ad7a17b99a82c286f8c3.tar.bz2
move EncodedCharAdjustCounter() to common.[ch] and rename it to encodedCharAdjustCounter()
Diffstat (limited to 'glcdgraphics/common.h')
-rw-r--r--glcdgraphics/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glcdgraphics/common.h b/glcdgraphics/common.h
index 2865602..0043390 100644
--- a/glcdgraphics/common.h
+++ b/glcdgraphics/common.h
@@ -13,6 +13,7 @@
#define _GLCDGRAPHICS_COMMON_H_
#include <string>
+#include <stdint.h>
namespace GLCD
{
@@ -20,6 +21,7 @@ namespace GLCD
void clip(int & value, int min, int max);
void sort(int & value1, int & value2);
std::string trim(const std::string & s);
+void encodedCharAdjustCounter(const bool isutf8, const std::string & str, uint32_t & c, unsigned int & i);
} // end of namespace