kodi
ResourceFile.h
1 /*
2  * Copyright (C) 2014-2018 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 "filesystem/OverrideFile.h"
12 
13 namespace XFILE
14 {
16 {
17 public:
18  CResourceFile();
19  ~CResourceFile() override;
20 
21  static bool TranslatePath(const std::string &path, std::string &translatedPath);
22  static bool TranslatePath(const CURL &url, std::string &translatedPath);
23 
24 protected:
25  std::string TranslatePath(const CURL &url) override;
26 };
27 }
Definition: Scraper.h:41
Definition: URL.h:21
Definition: ResourceFile.h:15
Definition: OverrideFile.h:16