2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
15 #include <cdio++/iso9660.hpp>
20 class CISO9660File
: public IFile
24 ~CISO9660File() override
= default;
26 bool Open(const CURL
& url
) override
;
27 void Close() override
{}
29 int Stat(const CURL
& url
, struct __stat64
* buffer
) override
;
31 ssize_t
Read(void* buffer
, size_t size
) override
;
32 int64_t Seek(int64_t filePosition
, int whence
) override
;
34 int64_t GetLength() override
;
35 int64_t GetPosition() override
;
37 bool Exists(const CURL
& url
) override
;
39 int GetChunkSize() override
;
42 std::unique_ptr
<ISO9660::IFS
> m_iso
;
43 std::unique_ptr
<ISO9660::Stat
> m_stat
;