diff options
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* - * tools.h: The 'EnigmaNG' VDR skin + * tools.h: 'EnigmaNG' skin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * @@ -8,9 +8,20 @@ #ifndef __SKINENIGMA_TOOLS_H #define __SKINENIGMA_TOOLS_H -#include <vdr/tools.h> +#include "common.h" -const char *parseaux(const char *str); +#ifdef min +#undef min +#endif +#define min(x, y) (x < y ? x : y) + +#ifdef max +#undef max +#endif +#define max(x, y) (x > y ? x : y) + +std::string parseaux(const char *str); bool ischaracters(const char *aux, const char *mask); #endif // __SKINENIGMA_TOOLS_H +// vim:et:sw=2:ts=2: |