#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
* 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
{
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;
};