ClanLib
2.3.7
|
Virtual File System (VFS) file source. More...
#include <virtual_file_source.h>
Public Member Functions | |
Construction | |
virtual | ~CL_VirtualFileSource () |
Operations | |
virtual CL_IODevice | open_file (const CL_String &filename, CL_File::OpenMode mode=CL_File::open_existing, unsigned int access=CL_File::access_read|CL_File::access_write, unsigned int share=CL_File::share_all, unsigned int flags=0)=0 |
Open file from this source. More... | |
virtual bool | initialize_directory_listing (const CL_String &path)=0 |
Initiate directory listing. More... | |
virtual bool | next_file (CL_VirtualDirectoryListingEntry &entry)=0 |
Update directory listing item. More... | |
virtual CL_String | get_path () const =0 |
Return the path of this file source. More... | |
virtual CL_String | get_identifier () const =0 |
Get the identifier of this file source. More... | |
Virtual File System (VFS) file source.
|
inlinevirtual |
|
pure virtual |
Get the identifier of this file source.
The exact format of this identifier depends on the implementation of the underlying filesystem and mounts
|
pure virtual |
Return the path of this file source.
|
pure virtual |
Initiate directory listing.
|
pure virtual |
Update directory listing item.
|
pure virtual |
Open file from this source.
param: filename = The filename to use param: mode = CL_File::OpenMode modes param: access = CL_File::AccessFlags flags param: share = CL_File::ShareFlags flags param: flags = CL_File::Flags flags