![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
Interface for objects representing scripts. More...
#include "iscriptloader.h"
Public Member Functions | |
virtual | ~IScript () |
virtual QVariant | InvokeMethod (const QString &name, const QVariantList &args) const =0 |
Runs the given function and returns its value. More... | |
Interface for objects representing scripts.
This interface is to be implemented by the objects that represent loaded scripts.
Definition at line 40 of file iscriptloader.h.
|
inlinevirtual |
Definition at line 43 of file iscriptloader.h.
|
pure virtual |
Runs the given function and returns its value.
This method invokes the method identified by name with the given args, if any, and returns its value.
If there is no such method or call has failed, the returned variant is null.
[in] | name | The name of the method to invoke. |
[in] | args | The list of arguments for the method. |