diff options
Diffstat (limited to 'glcdgraphics/common.h')
-rw-r--r-- | glcdgraphics/common.h | 26 |
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 |