xbmc
DVDDirectory.h
1 /*
2  * Copyright (C) 2023 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "IFileDirectory.h"
12 
13 namespace XFILE
14 {
15 
20 {
21 public:
22  CDVDDirectory() = default;
23  ~CDVDDirectory() override = default;
24  bool GetDirectory(const CURL& url, CFileItemList& items) override { return false; };
25  bool ContainsFiles(const CURL& url) override { return false; }
26  bool Resolve(CFileItem& item) const override;
27 };
28 } // namespace XFILE
Definition: Scraper.h:41
Represents a list of files.
Definition: FileItem.h:721
Definition: URL.h:21
bool GetDirectory(const CURL &url, CFileItemList &items) override
Get the items of the directory strPath.
Definition: DVDDirectory.h:24
Abstracts a DVD virtual directory (dvd://) which in turn points to the actual physical drive...
Definition: DVDDirectory.h:19
Definition: IFileDirectory.h:15
bool Resolve(CFileItem &item) const override
Resolves a given item to a playable item.
Definition: DVDDirectory.cpp:18
Represents a file on a share.
Definition: FileItem.h:102