equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * MP3/MPlayer plugin to VDR (C++) |
2 * MP3/MPlayer plugin to VDR (C++) |
3 * |
3 * |
4 * (C) 2001-2005 Stefan Huelswitt <s.huelswitt@gmx.de> |
4 * (C) 2001-2007 Stefan Huelswitt <s.huelswitt@gmx.de> |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or |
6 * This code is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License |
7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 |
8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. |
9 * of the License, or (at your option) any later version. |
146 void Modified(void) { modified=lastmod=true; } |
146 void Modified(void) { modified=lastmod=true; } |
147 protected: |
147 protected: |
148 virtual void Action(void); |
148 virtual void Action(void); |
149 public: |
149 public: |
150 cInfoCache(void); |
150 cInfoCache(void); |
|
151 void Shutdown(void); |
151 void Save(bool force=false); |
152 void Save(bool force=false); |
152 void Load(void); |
153 void Load(void); |
153 bool Purge(void); |
154 bool Purge(void); |
154 void Cache(cSongInfo *info, cFileInfo *file); |
155 void Cache(cSongInfo *info, cFileInfo *file); |
155 cCacheData *Search(cFileInfo *file); |
156 cCacheData *Search(cFileInfo *file); |