[filesystem][SpecialProtocol] Removed assert from GetPath
[xbmc.git] / xbmc / pictures / PictureInfoLoader.h
blob0171fcbff4832db02fd8dd5b36bd7d8b668ced79
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "BackgroundInfoLoader.h"
13 #include <string>
15 class CPictureInfoLoader : public CBackgroundInfoLoader
17 public:
18 CPictureInfoLoader();
19 ~CPictureInfoLoader() override;
21 void UseCacheOnHD(const std::string& strFileName);
22 bool LoadItem(CFileItem* pItem) override;
23 bool LoadItemCached(CFileItem* pItem) override;
24 bool LoadItemLookup(CFileItem* pItem) override;
26 protected:
27 void OnLoaderStart() override;
28 void OnLoaderFinish() override;
30 CFileItemList* m_mapFileItems;
31 unsigned int m_tagReads;
32 bool m_loadTags;