C

Filesystem Class

class Qul::PlatformInterface::Filesystem

The Filesystem class provides an abstract API to implement custom file systems. More...

Header: #include <platforminterface/filesystem.h>
Since: Qt Quick Ultralite (Platform) 2.6

Public Functions

virtual Qul::PlatformInterface::File *open(const char *fileName, File::Mode mode = File::Mode::ReadOnly) = 0

Detailed Description

See also Qul::PlatformInterface::File.

Member Function Documentation

[pure virtual] Qul::PlatformInterface::File *Filesystem::open(const char *fileName, File::Mode mode = File::Mode::ReadOnly)

Opens a file on the implemented file system.

fileName is a null-terminated string of the file to open. mode specifies the mode in which the file should be opened. Write access to files is not needed or supported.

An instance of a file is returned, of which the caller has to take ownership. If the file could not be opened, NULL is returned.

Available under certain Qt licenses.
Find out more.