Merge pull request #4630 from Red-F/gotham-resume-pvr-lastplayedposition
[vuplus_xbmc] / xbmc / ThumbnailCache.h
index d93eec5..dc99ea6 100644 (file)
@@ -1,7 +1,7 @@
 #pragma once
 /*
- *      Copyright (C) 2005-2008 Team XBMC
- *      http://www.xbmc.org
+ *      Copyright (C) 2005-2013 Team XBMC
+ *      http://xbmc.org
  *
  *  This Program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -14,9 +14,8 @@
  *  GNU General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License
- *  along with XBMC; see the file COPYING.  If not, write to
- *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- *  http://www.gnu.org/copyleft/gpl.html
+ *  along with XBMC; see the file COPYING.  If not, see
+ *  <http://www.gnu.org/licenses/>.
  *
  */
 
 #include <map>
 
 class CCriticalSection;
+class CVideoInfoTag;
+namespace MUSIC_INFO 
+{
+  class CMusicInfoTag;
+}
+class CAlbum;
+class CArtist;
+class CFileItem;
 
 class CThumbnailCache
 {
@@ -34,15 +41,10 @@ public:
   virtual ~CThumbnailCache();
 
   static CThumbnailCache* GetThumbnailCache();
-  bool ThumbExists(const CStdString& strFileName, bool bAddCache = false);
-  void Add(const CStdString& strFileName, bool bExists);
-  void Clear();
-  bool IsCached(const CStdString& strFileName);
+
 protected:
 
   static CThumbnailCache* m_pCacheInstance;
 
-  std::map<CStdString, bool> m_Cache;
-
   static CCriticalSection m_cs;
 };