virtual VFS_node * find(VFS_request *r)
Find a node using a VFS_request.
virtual QByteArray icon()
Return the users icon from VFS_icons.
virtual bool isContainer()
A VFS_auth node cannot contain children.
virtual void executeRequest(VFS_request *t)
Execute a VFS_request.
static char * get(QString which="")
Fetch an icon from the library.
VFS_node is the base class from which all other VFS_node classes derive.
virtual void read(VFS_request *r)
Return the data contents of this node, or if it's a container call ls()
virtual void issueResponse(VFS_request *t)
Once a request has been completed, issue a response.
virtual void metadata(VFS_request *r)
Fetch the metadata of this node.
virtual void report(VFS_request *r)
Report debugging information about the current state of this node.
virtual void ls(VFS_request *r)
List the contents of this node.
The base class for all requests between nodes.
static const char * requestTypeStrings[]
A printable string for each request type.
@ read
read full contents (4)
@ report
provide node report, for debugging (12)
@ ls
list children of a node (1)
@ metadata
read metadata (6)
requestType _requestType
the action this request is performing or requesting
QString _reason
if something (probably bad) happened, this is the reason
bool _isCallback
whether or not to issue a response (IE, another request is chained to this request,...
bool _success
if the request was successfully completed