2 * Copyright (C) 2014 Arne Morten Kvarving
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 * See LICENSES/README.md for more information.
10 #include "IFileDirectory.h"
12 #include <libavformat/avformat.h>
17 class CAudioBookFileDirectory
: public IFileDirectory
20 ~CAudioBookFileDirectory(void) override
;
21 bool GetDirectory(const CURL
& url
, CFileItemList
&items
) override
;
22 bool Exists(const CURL
& url
) override
;
23 bool ContainsFiles(const CURL
& url
) override
;
24 bool IsAllowed(const CURL
& url
) const override
{ return true; }
27 AVIOContext
* m_ioctx
= nullptr;
28 AVFormatContext
* m_fctx
= nullptr;