#include <FavouritesDirectory.h>
|
| CFavouritesDirectory ()=default |
|
bool | GetDirectory (const CURL &url, CFileItemList &items) override |
| Get the items of the directory strPath.
|
|
bool | Exists (const CURL &url) override |
| Check for directory existence.
|
|
| IDirectory () |
|
virtual | ~IDirectory (void) |
|
virtual float | GetProgress () const |
| Retrieve the progress of the current directory fetch (if possible).
|
|
virtual void | CancelDirectory () |
| Cancel the current directory fetch (if possible).
|
|
virtual bool | Create (const CURL &url) |
| Create the directory.
|
|
virtual bool | Remove (const CURL &url) |
| Removes the directory.
|
|
virtual std::string | ResolveMountPoint (const std::string &path) const |
| Provided a path, attempts to resolve to a mount point.
|
|
virtual bool | RemoveRecursive (const CURL &url) |
| Recursively removes the directory.
|
|
virtual bool | IsAllowed (const CURL &url) const |
| Whether this file should be listed.
|
|
virtual bool | AllowAll () const |
| Whether to allow all files/folders to be listed.
|
|
virtual CacheType | GetCacheType (const CURL &url) const |
| How this directory should be cached.
|
|
void | SetMask (const std::string &strMask) |
| Set a mask of extensions for the files in the directory.
|
|
void | SetFlags (int flags) |
| Set the flags for this directory handler.
|
|
bool | ProcessRequirements () |
| Process additional requirements before the directory fetch is performed. Some directory fetches may require authentication, keyboard input etc. The IDirectory subclass should call GetKeyboardInput, SetErrorDialog or RequireAuthentication and then return false from the GetDirectory method. CDirectory will then prompt for input from the user, before re-calling the GetDirectory method.
|
|
virtual bool | Resolve (CFileItem &item) const |
| Resolves a given item to a playable item.
|
|
◆ CFavouritesDirectory()
XFILE::CFavouritesDirectory::CFavouritesDirectory |
( |
| ) |
|
|
default |
◆ Exists()
bool XFILE::CFavouritesDirectory::Exists |
( |
const CURL & | url | ) |
|
|
overridevirtual |
◆ GetDirectory()
Get the items of the directory strPath.
- Parameters
-
url | Directory to read. |
items | Retrieves the directory entries. |
- Returns
- Returns true, if successful.
- See also
- CDirectoryFactory
Implements XFILE::IDirectory.
The documentation for this class was generated from the following files: