kodi
PlaylistFileDirectory.h
1 /*
2  * Copyright (C) 2005-2018 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 {
16  {
17  public:
19  ~CPlaylistFileDirectory() override;
20  bool GetDirectory(const CURL& url, CFileItemList& items) override;
21  bool ContainsFiles(const CURL& url) override;
22  bool Remove(const CURL& url) override;
23  bool AllowAll() const override { return true; }
24  };
25 }
Definition: Scraper.h:41
bool Remove(const CURL &url) override
Removes the directory.
Definition: PlaylistFileDirectory.cpp:62
bool AllowAll() const override
Whether to allow all files/folders to be listed.
Definition: PlaylistFileDirectory.h:23
bool GetDirectory(const CURL &url, CFileItemList &items) override
Get the items of the directory strPath.
Definition: PlaylistFileDirectory.cpp:25
Definition: PlaylistFileDirectory.h:15
Represents a list of files.
Definition: FileItem.h:702
Definition: URL.h:21
Definition: IFileDirectory.h:15