data-mp3.c
branchtrunk
changeset 22 93aaf15c145a
parent 19 306cc35c7faa
child 29 640ce9201139
     1.1 --- a/data-mp3.c	Tue Feb 03 12:28:53 2009 +0800
     1.2 +++ b/data-mp3.c	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-2006 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 @@ -141,18 +141,10 @@
    1.13    obj->Source()->Block();
    1.14  }
    1.15  
    1.16 -#if APIVERSNUM >= 10315
    1.17  int cSong::Compare(const cListObject &ListObject) const
    1.18 -#else
    1.19 -bool cSong::operator<(const cListObject &ListObject)
    1.20 -#endif
    1.21  {
    1.22    cSong *song=(cSong *)&ListObject;
    1.23 -#if APIVERSNUM >= 10315
    1.24    return strcasecmp(obj->Path(),song->obj->Path());
    1.25 -#else
    1.26 -  return strcasecmp(obj->Path(),song->obj->Path())<0;
    1.27 -#endif
    1.28  }
    1.29  
    1.30  cSongInfo *cSong::Info(bool get)
    1.31 @@ -405,18 +397,10 @@
    1.32      }
    1.33  }
    1.34  
    1.35 -#if APIVERSNUM >= 10315
    1.36  int cPlayList::Compare(const cListObject &ListObject) const
    1.37 -#else
    1.38 -bool cPlayList::operator<(const cListObject &ListObject)
    1.39 -#endif
    1.40  {
    1.41    cPlayList *list=(cPlayList *)&ListObject;
    1.42 -#if APIVERSNUM >= 10315
    1.43    return strcasecmp(obj->Name(),list->obj->Name());
    1.44 -#else
    1.45 -  return strcasecmp(obj->Name(),list->obj->Name())<0;
    1.46 -#endif
    1.47  }
    1.48  
    1.49  bool cPlayList::Load(void)