common.h
branchtrunk
changeset 22 93aaf15c145a
parent 2 4c1f7b705009
child 23 3b14b8aacaa0
     1.1 --- a/common.h	Tue Feb 03 12:28:53 2009 +0800
     1.2 +++ b/common.h	Tue Feb 03 20:33:04 2009 +0800
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5   * MP3/MPlayer plugin to VDR (C++)
     1.6   *
     1.7 - * (C) 2001-2007 Stefan Huelswitt <s.huelswitt@gmx.de>
     1.8 + * (C) 2001-2009 Stefan Huelswitt <s.huelswitt@gmx.de>
     1.9   *
    1.10   * This code is free software; you can redistribute it and/or
    1.11   * modify it under the terms of the GNU General Public License
    1.12 @@ -31,23 +31,13 @@
    1.13  #endif
    1.14  #include "config.h"
    1.15  
    1.16 -#if APIVERSNUM >= 10313
    1.17  #define SLEEP(x) cCondWait::SleepMs(x)
    1.18 -#else
    1.19 -#define SLEEP(x) usleep((x)*1000)
    1.20 -#endif
    1.21  
    1.22 -#if APIVERSNUM >= 10318
    1.23  #include <vdr/tools.h>
    1.24  static cTimeMs __time;
    1.25  #define time_ms() ((int)__time.Elapsed())
    1.26 -#endif
    1.27  
    1.28 -#if APIVERSNUM >= 10338
    1.29  #define BUTTON "Button$"
    1.30 -#else
    1.31 -#define BUTTON
    1.32 -#endif
    1.33  
    1.34  #if !defined(NO_DEBUG) && defined(DEBUG)
    1.35  #define d(x) { (x); }