#include <WinLibraryDirectory.h>
|
bool | GetKeyboardInput (const CVariant &heading, std::string &input, bool hiddenInput=false) |
| Prompt the user for some keyboard input Call this method from the GetDirectory method to retrieve additional input from the user. If this function returns false then no input has been received, and the GetDirectory call should return false.
|
|
void | SetErrorDialog (const CVariant &heading, const CVariant &line1, const CVariant &line2=0, const CVariant &line3=0) |
| Show an error dialog on failure of GetDirectory call Call this method from the GetDirectory method to set an error message to be shown to the user.
|
|
void | RequireAuthentication (const CURL &url) |
| Prompt the user for authentication of a URL. Call this method from the GetDirectory method when authentication is required from the user, before returning false from the GetDirectory call. The user will be prompted for authentication, and GetDirectory will be re-called.
|
|
std::string | m_strFileMask |
| Holds the file mask specified by SetMask()
|
|
int | m_flags |
| Directory flags - see DIR_FLAG.
|
|
CVariant | m_requirements |
|
static const CProfileManager * | m_profileManager = nullptr |
|
◆ CWinLibraryDirectory()
CWinLibraryDirectory::CWinLibraryDirectory |
( |
| ) |
|
|
default |
◆ ~CWinLibraryDirectory()
CWinLibraryDirectory::~CWinLibraryDirectory |
( |
void | | ) |
|
|
virtualdefault |
◆ Create()
bool CWinLibraryDirectory::Create |
( |
const CURL & | url | ) |
|
|
overridevirtual |
◆ Exists()
bool CWinLibraryDirectory::Exists |
( |
const CURL & | url | ) |
|
|
overridevirtual |
◆ GetCacheType()
How this directory should be cached.
- Parameters
-
- Returns
- Returns the cache type.
Reimplemented from XFILE::IDirectory.
◆ 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.
◆ GetStoragePath()
bool CWinLibraryDirectory::GetStoragePath |
( |
std::string | library, |
|
|
std::string & | path ) |
|
static |
◆ IsValid()
bool CWinLibraryDirectory::IsValid |
( |
const CURL & | url | ) |
|
|
static |
◆ Remove()
bool CWinLibraryDirectory::Remove |
( |
const CURL & | url | ) |
|
|
overridevirtual |
Removes the directory.
- Parameters
-
- Returns
- Returns false if not successful
Reimplemented from XFILE::IDirectory.
The documentation for this class was generated from the following files: