xbmc
|
Get access to a directory of a file system. More...
#include <DirectoryFactory.h>
Static Public Member Functions | |
static IDirectory * | Create (const CURL &url) |
Create a IDirectory object of the share type specified in strPath . More... | |
Get access to a directory of a file system.
The Factory can be used to create a directory object for every file system accessable.
Example:
std::string strShare="iso9660://"; IDirectory* pDir=CDirectoryFactory::Create(strShare);
The pDir pointer can be used to access a directory and retrieve it's content.
When different types of shares have to be accessed use CVirtualDirectory.
|
static |
Create a IDirectory object of the share type specified in strPath .
strPath | Specifies the share type to access, can be a share or share with path. |