xbmc
FavouritesDirectory.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 "IDirectory.h"
12 
13 class CFileItemList;
14 class CFileItem;
15 
16 namespace XFILE
17 {
18 
20  {
21  public:
22  CFavouritesDirectory() = default;
23 
24  bool GetDirectory(const CURL& url, CFileItemList &items) override;
25  bool Exists(const CURL& url) override;
26  };
27 
28 }
Interface to the directory on a file system.
Definition: IDirectory.h:50
Definition: Scraper.h:41
bool Exists(const CURL &url) override
Check for directory existence.
Definition: FavouritesDirectory.cpp:29
Represents a list of files.
Definition: FileItem.h:713
Definition: URL.h:20
bool GetDirectory(const CURL &url, CFileItemList &items) override
Get the items of the directory strPath.
Definition: FavouritesDirectory.cpp:22
Definition: FavouritesDirectory.h:19
Represents a file on a share.
Definition: FileItem.h:102