kodi
UDFDirectory.h
1 /*
2  * Copyright (C) 2010 Team Boxee
3  * http://www.boxee.tv
4  *
5  * Copyright (C) 2010-2018 Team Kodi
6  * This file is part of Kodi - https://kodi.tv
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  * See LICENSES/README.md for more information.
10  */
11 
12 #pragma once
13 
14 #include "IFileDirectory.h"
15 
16 namespace XFILE
17 {
18 
20 {
21 public:
22  CUDFDirectory() = default;
23  ~CUDFDirectory() = default;
24  bool GetDirectory(const CURL& url, CFileItemList& items) override;
25  bool Exists(const CURL& url) override;
26  bool ContainsFiles(const CURL& url) override { return true; }
27 };
28 }
29 
Definition: Scraper.h:41
bool Exists(const CURL &url) override
Check for directory existence.
Definition: UDFDirectory.cpp:104
Represents a list of files.
Definition: FileItem.h:702
Definition: URL.h:21
Definition: UDFDirectory.h:19
bool GetDirectory(const CURL &url, CFileItemList &items) override
Get the items of the directory strPath.
Definition: UDFDirectory.cpp:24
Definition: IFileDirectory.h:15