/* * 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 */ #ifndef _GLCDGRAPHICS_COMMON_H_ #define _GLCDGRAPHICS_COMMON_H_ #include #include 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 #endif