kodi
PVRCachedImages.h
1 /*
2  * Copyright (C) 2005-2021 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include <string>
12 #include <vector>
13 
14 namespace PVR
15 {
16 
18 {
19  PVRImagePattern(const std::string& _owner, const std::string& _path) : owner(_owner), path(_path)
20  {
21  }
22 
23  std::string owner;
24  std::string path;
25 };
26 
28 {
29 public:
37  static int Cleanup(const std::vector<PVRImagePattern>& urlPatterns,
38  const std::vector<std::string>& urlsToCheck,
39  bool clearTextureForPath = false);
40 
46  static std::string UnwrapImageURL(const std::string& url);
47 };
48 
49 } // namespace PVR
Definition: PVRCachedImages.h:17
Definition: ContextMenuManager.h:24
Definition: PVRCachedImages.h:27