#include <Win32SMBDirectory.h>
|
bool | RealCreate (const CURL &url, bool tryToConnect) |
|
bool | RealExists (const CURL &url, bool tryToConnect) |
|
bool | ConnectAndAuthenticate (CURL &url, bool allowPromptForCredential=false) |
|
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.
|
|
◆ CWin32SMBDirectory()
CWin32SMBDirectory::CWin32SMBDirectory |
( |
void | | ) |
|
◆ ~CWin32SMBDirectory()
CWin32SMBDirectory::~CWin32SMBDirectory |
( |
void | | ) |
|
|
virtual |
◆ ConnectAndAuthenticate()
bool CWin32SMBDirectory::ConnectAndAuthenticate |
( |
CURL & | url, |
|
|
bool | allowPromptForCredential = false ) |
|
protected |
◆ Create()
bool CWin32SMBDirectory::Create |
( |
const CURL & | url | ) |
|
|
virtual |
◆ Exists()
bool CWin32SMBDirectory::Exists |
( |
const CURL & | url | ) |
|
|
virtual |
◆ 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
- Todo
- support m_strFileMask, require rewrite of internal caching
Implements XFILE::IDirectory.
◆ GetNetworkResources()
◆ RealCreate()
bool CWin32SMBDirectory::RealCreate |
( |
const CURL & | url, |
|
|
bool | tryToConnect ) |
|
protected |
◆ RealExists()
bool CWin32SMBDirectory::RealExists |
( |
const CURL & | url, |
|
|
bool | tryToConnect ) |
|
protected |
- Todo
- use real caseless string comparison everywhere in this function
◆ Remove()
bool CWin32SMBDirectory::Remove |
( |
const CURL & | url | ) |
|
|
virtual |
Removes the directory.
- Parameters
-
- Returns
- Returns false if not successful
Reimplemented from XFILE::IDirectory.
◆ CWin32SMBFile
The documentation for this class was generated from the following files: