summaryrefslogtreecommitdiff
path: root/tools.h
blob: d19d785d1ed7131f6c2243214a66a577baa9c2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * tools.h: 'EnigmaNG' skin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __SKINENIGMA_TOOLS_H
#define __SKINENIGMA_TOOLS_H

#include "common.h"

#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: