decoder.h
branchtrunk
changeset 25 887faebaba0a
parent 2 4c1f7b705009
     1.1 --- a/decoder.h	Wed Feb 04 19:34:25 2009 +0800
     1.2 +++ b/decoder.h	Thu Feb 12 20:47:23 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 @@ -37,16 +37,18 @@
    1.13  
    1.14  class cSongInfo {
    1.15  private:
    1.16 -  bool infoDone;
    1.17 +  bool infoDone, utf8clean;
    1.18  protected:
    1.19    void Clear(void);
    1.20 -  void Set(cSongInfo *si);
    1.21 +  void Set(cSongInfo *si, bool update=false);
    1.22    void FakeTitle(const char *filename, const char *extention=0);
    1.23    void InfoDone(void) { infoDone=true; }
    1.24  public:
    1.25    cSongInfo(void);
    1.26    ~cSongInfo();
    1.27    bool HasInfo(void) { return infoDone; }
    1.28 +  bool Utf8Clean(void) { return utf8clean; }
    1.29 +  void ConvertToSys(void);
    1.30    // Song
    1.31    char *Title, *Artist, *Album;
    1.32    int Year, Frames, Total;