Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches
ModuleXbmcvfs.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 "AddonString.h"
12#include "Tuple.h"
13
14#include <vector>
15
16#ifndef DOXYGEN_SHOULD_SKIP_THIS
17namespace XBMCAddon
18{
19 namespace xbmcvfs
20 {
21#endif /* DOXYGEN_SHOULD_SKIP_THIS */
22
23 //
30 //
31
32#ifdef DOXYGEN_SHOULD_USE_THIS
52 copy(...);
53#else
54 bool copy(const String& strSource, const String& strDestination);
55#endif
56
57#ifdef DOXYGEN_SHOULD_USE_THIS
76 delete(...);
77#else
78 bool deleteFile(const String& file);
79#endif
80
81#ifdef DOXYGEN_SHOULD_USE_THIS
104 rename(...);
105#else
106 bool rename(const String& file, const String& newFile);
107#endif
108
109#ifdef DOXYGEN_SHOULD_USE_THIS
129 exists(...);
130#else
131 bool exists(const String& path);
132#endif
133
134#ifdef DOXYGEN_SHOULD_USE_THIS
166#else
167 String makeLegalFilename(const String& filename);
168#endif
169
170#ifdef DOXYGEN_SHOULD_USE_THIS
195#else
196 String translatePath(const String& path);
197#endif
198
199#ifdef DOXYGEN_SHOULD_USE_THIS
224#else
225 String validatePath(const String& path);
226#endif
227
228#ifdef DOXYGEN_SHOULD_USE_THIS
247 mkdir(...);
248#else
249 bool mkdir(const String& path);
250#endif
251
252#ifdef DOXYGEN_SHOULD_USE_THIS
273 mkdirs(...);
274#else
275 bool mkdirs(const String& path);
276#endif
277
278#ifdef DOXYGEN_SHOULD_USE_THIS
301 rmdir(...);
302#else
303 bool rmdir(const String& path, bool force = false);
304#endif
305
306#ifdef DOXYGEN_SHOULD_USE_THIS
326#else
327 Tuple<std::vector<String>, std::vector<String> > listdir(const String& path);
328#endif
330
331#ifndef DOXYGEN_SHOULD_SKIP_THIS
332 }
333}
334#endif /* DOXYGEN_SHOULD_SKIP_THIS */
mkdir(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
exists(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
copy(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
rename(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
rmdir(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
listdir(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
translatePath(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
validatePath(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
makeLegalFilename(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
mkdirs(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...