~ubuntu-branches/ubuntu/maverick/vdr-plugin-mp3/maverick

« back to all changes in this revision

Viewing changes to decoder.h

  • Committer: Bazaar Package Importer
  • Author(s): Tobias Grimm
  • Date: 2010-03-28 15:09:21 UTC
  • mfrom: (2.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100328150921-3kti802cqh0pe1hl
Tags: 0.10.2-3
* Build-depend on vdr-dev >= 1.6.0-16
* Minor debian/copyright update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * MP3/MPlayer plugin to VDR (C++)
3
3
 *
4
 
 * (C) 2001-2007 Stefan Huelswitt <s.huelswitt@gmx.de>
 
4
 * (C) 2001-2009 Stefan Huelswitt <s.huelswitt@gmx.de>
5
5
 *
6
6
 * This code is free software; you can redistribute it and/or
7
7
 * modify it under the terms of the GNU General Public License
37
37
 
38
38
class cSongInfo {
39
39
private:
40
 
  bool infoDone;
 
40
  bool infoDone, utf8clean;
41
41
protected:
42
42
  void Clear(void);
43
 
  void Set(cSongInfo *si);
 
43
  void Set(cSongInfo *si, bool update=false);
44
44
  void FakeTitle(const char *filename, const char *extention=0);
45
45
  void InfoDone(void) { infoDone=true; }
46
46
public:
47
47
  cSongInfo(void);
48
48
  ~cSongInfo();
49
49
  bool HasInfo(void) { return infoDone; }
 
50
  bool Utf8Clean(void) { return utf8clean; }
 
51
  void ConvertToSys(void);
50
52
  // Song
51
53
  char *Title, *Artist, *Album;
52
54
  int Year, Frames, Total;