ScummVM API documentation
Networking::FilesBaseHandler Class Reference
Inheritance diagram for Networking::FilesBaseHandler:
Networking::BaseHandler Networking::CreateDirectoryHandler Networking::DownloadFileHandler Networking::FilesAjaxPageHandler Networking::FilesPageHandler Networking::ListAjaxHandler Networking::UploadFileHandler

Protected Member Functions

Common::String parentPath (const Common::String &path)
 
bool urlToPath (Common::String &url, Common::Path &path, Common::String &baseUrl, Common::Path &basePath, bool isDirectory=true)
 

Additional Inherited Members

- Public Member Functions inherited from Networking::BaseHandler
virtual void handle (Client &)=0
 
virtual bool minimalModeSupported ()
 

Member Function Documentation

◆ urlToPath()

bool Networking::FilesBaseHandler::urlToPath ( Common::String url,
Common::Path path,
Common::String baseUrl,
Common::Path basePath,
bool  isDirectory = true 
)
protected

Transforms virtual <url> into actual file system path.

Fills base path with actual file system prefix and base URL with virtual prefix

Returns true on success.


The documentation for this class was generated from the following file: