xbmc
xbmc
filesystem
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
{
15
class
CMultiPathFile
:
public
COverrideFile
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
}
XFILE
Definition:
Scraper.h:41
CURL
Definition:
URL.h:20
XFILE::CMultiPathFile
Definition:
MultiPathFile.h:15
XFILE::CMultiPathFile::Stat
int Stat(const CURL &url, struct __stat64 *buffer) override
Fills struct __stat64 with information about file specified by url.
Definition:
MultiPathFile.cpp:61
XFILE::COverrideFile
Definition:
OverrideFile.h:16
Generated by
1.8.13