diff options
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/VFS.h')
| -rw-r--r-- | xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/VFS.h | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/VFS.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/VFS.h index 637a991..3bdc059 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/VFS.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/VFS.h | |||
| @@ -1,23 +1,12 @@ | |||
| 1 | #pragma once | ||
| 2 | /* | 1 | /* |
| 3 | * Copyright (C) 2015 Team Kodi | 2 | * Copyright (C) 2015-2018 Team Kodi |
| 4 | * | ||
| 5 | * This Program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 8 | * any later version. | ||
| 9 | * | ||
| 10 | * This Program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with Kodi; see the file COPYING. If not, see | ||
| 17 | * <http://www.gnu.org/licenses/>. | ||
| 18 | * | 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | * See LICENSES/README.md for more information. | ||
| 19 | */ | 6 | */ |
| 20 | 7 | ||
| 8 | #pragma once | ||
| 9 | |||
| 21 | #include "../AddonBase.h" | 10 | #include "../AddonBase.h" |
| 22 | #include "../Filesystem.h" | 11 | #include "../Filesystem.h" |
| 23 | 12 | ||
| @@ -578,7 +567,7 @@ namespace addon | |||
| 578 | int* num_entries, | 567 | int* num_entries, |
| 579 | char* rootpath) | 568 | char* rootpath) |
| 580 | { | 569 | { |
| 581 | std::string cppRootPath; | 570 | std::string cppRootPath; |
| 582 | std::vector<kodi::vfs::CDirEntry> addonEntries; | 571 | std::vector<kodi::vfs::CDirEntry> addonEntries; |
| 583 | bool ret = instance->toAddon.addonInstance->ContainsFiles(*url, addonEntries, cppRootPath); | 572 | bool ret = instance->toAddon.addonInstance->ContainsFiles(*url, addonEntries, cppRootPath); |
| 584 | if (ret) | 573 | if (ret) |
