diff options
Diffstat (limited to 'xbmc/filesystem/ZipDirectory.h')
-rw-r--r-- | xbmc/filesystem/ZipDirectory.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/xbmc/filesystem/ZipDirectory.h b/xbmc/filesystem/ZipDirectory.h new file mode 100644 index 0000000..bd09c34 --- /dev/null +++ b/xbmc/filesystem/ZipDirectory.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2005-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include "IFileDirectory.h" + +namespace XFILE +{ + class CZipDirectory : public IFileDirectory + { + public: + CZipDirectory(); + ~CZipDirectory() override; + bool GetDirectory(const CURL& url, CFileItemList& items) override; + bool ContainsFiles(const CURL& url) override; + DIR_CACHE_TYPE GetCacheType(const CURL& url) const override { return DIR_CACHE_ALWAYS; } + }; +} |