2 #ifndef VFS_NODE_INTERFACE_H
3 #define VFS_NODE_INTERFACE_H
37 virtual VFS_node *
create(QString type, QVariantMap env, QDomElement child);
40 virtual QString
code(QString nodename, QString libname, QString &error);
54 #define VFS_node_interface_iid "com.remoto.plugins.VFS_node_interface"
#define VFS_node_interface_iid
The interface class for dynamically loaded plugins.
virtual QString description(QString type)
Descriptive text about an individual node.
bool isRemote()
If a plugin represents a remote resource, this value will be true.
virtual bool initialize()
The plugin initializer.
VFS_node_interface(VFS_node *remoteNode=nullptr)
VFS_node_interface::VFS_node_interface.
QString argumentString(QMetaObject s)
Format a constructor string based on a node's metadata object.
bool _remote
Does this plugin exist on another resource?
virtual bool licensed(QString type)
A licensing mechanism for node creation.
QString describe()
Describe all the nodes in a plugin.
virtual ~VFS_node_interface()
virtual QString arguments(QString type)
Describe the arguments needed to create a node.
VFS_node * _remoteNode
The node responding to requests for remote resources.
virtual QString code(QString nodename, QString libname, QString &error)
Request code or other resource from a plugin bundle.
virtual QStringList provides()
A string list of node names that this plugin is prepared to create.
VFS_node * remoteNode()
Return the node needed to satisfy a remote request.
virtual VFS_node * create(QString type, QVariantMap env, QDomElement child)
Create a new node instance.
VFS_node is the base class from which all other VFS_node classes derive.