#include <AudioBookFileDirectory.h>
|
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.
|
|
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.
|
|
static const CProfileManager * | m_profileManager = nullptr |
|
◆ ~CAudioBookFileDirectory()
CAudioBookFileDirectory::~CAudioBookFileDirectory |
( |
void | | ) |
|
|
override |
◆ ContainsFiles()
bool CAudioBookFileDirectory::ContainsFiles |
( |
const CURL & | url | ) |
|
|
overridevirtual |
◆ Exists()
bool CAudioBookFileDirectory::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.
◆ IsAllowed()
bool XFILE::CAudioBookFileDirectory::IsAllowed |
( |
const CURL & | url | ) |
const |
|
inlineoverridevirtual |
Whether this file should be listed.
Test if file have an allowed extension, as specified with SetMask()
- Parameters
-
- Returns
- Returns true if the file should be listed
- Parameters
-
- Returns
- true if file is allowed
- Note
- If extension is ".ifo", filename format must be "vide_ts.ifo" or "vts_##_0.ifo". If extension is ".dat", filename format must be "AVSEQ##(#).DAT", "ITEM###(#).DAT" or "MUSIC##(#).DAT".
Reimplemented from XFILE::IDirectory.
◆ m_fctx
AVFormatContext* XFILE::CAudioBookFileDirectory::m_fctx = nullptr |
|
protected |
◆ m_ioctx
AVIOContext* XFILE::CAudioBookFileDirectory::m_ioctx = nullptr |
|
protected |
The documentation for this class was generated from the following files: