xbmc
MultiPathFile.h
1 /*
2  * Copyright (C) 2005-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  CMultiPathFile(void);
19  ~CMultiPathFile(void) override;
20  bool Open(const CURL& url) override;
21  bool Exists(const CURL& url) override;
22  int Stat(const CURL& url, struct __stat64* buffer) override;
23 
24  protected:
25  std::string TranslatePath(const CURL &url) override;
26  };
27 }
Definition: Scraper.h:41
Definition: URL.h:20
Definition: MultiPathFile.h:15
int Stat(const CURL &url, struct __stat64 *buffer) override
Fills struct __stat64 with information about file specified by url.
Definition: MultiPathFile.cpp:61
Definition: OverrideFile.h:16