equal
deleted
inserted
replaced
|
1 /* |
|
2 * GraphLCD graphics library |
|
3 * |
|
4 * common.h - various functions |
|
5 * |
|
6 * This file is released under the GNU General Public License. Refer |
|
7 * to the COPYING file distributed with this package. |
|
8 * |
|
9 * (c) 2004 Andreas Regel <andreas.regel AT powarman.de> |
|
10 */ |
|
11 |
|
12 #ifndef _GLCDGRAPHICS_COMMON_H_ |
|
13 #define _GLCDGRAPHICS_COMMON_H_ |
|
14 |
|
15 #include <string> |
|
16 |
|
17 namespace GLCD |
|
18 { |
|
19 |
|
20 void clip(int & value, int min, int max); |
|
21 void sort(int & value1, int & value2); |
|
22 std::string trim(const std::string & s); |
|
23 |
|
24 } // end of namespace |
|
25 |
|
26 #endif |