Wrapper equpping a CVFSEntry with an IDirectory interface.
More...
#include <VFSEntry.h>
|
static bool | DoGetKeyboardInput (void *context, const char *heading, char **input, bool hidden_input) |
| Static helper for doing a keyboard callback.
|
|
static void | DoSetErrorDialog (void *ctx, const char *heading, const char *line1, const char *line2, const char *line3) |
| Static helper for displaying an error dialog.
|
|
static void | DoRequireAuthentication (void *ctx, const char *url) |
| Static helper for requiring authentication.
|
|
static void | RegisterProfileManager (const CProfileManager &profileManager) |
|
static void | UnregisterProfileManager () |
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
static const CProfileManager * | m_profileManager = nullptr |
|
Wrapper equpping a CVFSEntry with an IDirectory interface.
Needed as CVFSEntry implements several VFS interfaces with overlapping methods.
◆ CVFSEntryIDirectoryWrapper()
ADDON::CVFSEntryIDirectoryWrapper::CVFSEntryIDirectoryWrapper |
( |
VFSEntryPtr |
ptr | ) |
|
|
explicit |
The constructor initializes the reference to the wrapped CVFSEntry.
- Parameters
-
◆ Create()
bool ADDON::CVFSEntryIDirectoryWrapper::Create |
( |
const CURL & |
url | ) |
|
|
overridevirtual |
◆ Exists()
bool ADDON::CVFSEntryIDirectoryWrapper::Exists |
( |
const CURL & |
url | ) |
|
|
overridevirtual |
◆ GetDirectory()
bool ADDON::CVFSEntryIDirectoryWrapper::GetDirectory |
( |
const CURL & |
url, |
|
|
CFileItemList & |
items |
|
) |
| |
|
overridevirtual |
◆ Remove()
bool ADDON::CVFSEntryIDirectoryWrapper::Remove |
( |
const CURL & |
url | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: