Logo Search packages:      
Sourcecode: vdr-plugin-skinenigmang version File versions  Download package

common.h

/*
 * common.h: 'EnigmaNG' skin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __SKINENIGMA_COMMON_H
#define __SKINENIGMA_COMMON_H

#include <string>
#include <stdio.h>

#include <vdr/config.h>

// unset HAVE_FREETYPE if VDR 1.5.3
#ifdef HAVE_FREETYPE
#  if VDRVERSNUM == 10503
#    undef HAVE_FREETYPE
#  endif
#endif

#ifdef DEBUG
#define debug(x...) { printf("EnigmaNG: " x); printf("\n"); }
#define error(x...) { fprintf(stderr, "EnigmaNG: " x); fprintf(stderr, "\n"); }
#else
#define debug(x...) ;
#define error(x...) esyslog("EnigmaNG: " x);
#endif

#endif // __SKINENIGMA_COMMON_H
// vim:et:sw=2:ts=2:

Generated by  Doxygen 1.6.0   Back to index