ScummVM API documentation
Sword25::FileSystemUtil Class Reference

Static Public Member Functions

static Common::Path getUserdataDirectoryPath ()
 
static Common::String getUserdataDirectory ()
 
static Common::String getPathSeparator ()
 
static bool fileExists (const Common::String &filename)
 
static Common::String getPathFilename (const Common::String &path)
 

Member Function Documentation

◆ getUserdataDirectoryPath()

static Common::Path Sword25::FileSystemUtil::getUserdataDirectoryPath ( )
static

This function returns the path of the directory in which all user data is to be stored.

These are for example Screenshots, game saves, configuration files, log files, ...

Returns
Returns the name of the directory for user data.

◆ getUserdataDirectory()

static Common::String Sword25::FileSystemUtil::getUserdataDirectory ( )
static

This function returns the name of the directory in which all user data is to be stored.

These are for example Screenshots, game saves, configuration files, log files, ...

Returns
Returns the name of the directory for user data.

◆ getPathSeparator()

static Common::String Sword25::FileSystemUtil::getPathSeparator ( )
static
Returns
Returns the path separator

◆ fileExists()

static bool Sword25::FileSystemUtil::fileExists ( const Common::String filename)
static
Parameters
FilenameThe path to a file.
Returns
Returns true if the file exists.

◆ getPathFilename()

static Common::String Sword25::FileSystemUtil::getPathFilename ( const Common::String path)
static

Gets the filename from a path and filename

Parameters
FilenameThe full path and filename
Returns
Returns just the filename

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