44 #include "FileScript.hh" 50 return QString( tr(
"OpenFlipper Scripting Files ( *.ofs )") );
62 int FileScriptPlugin::loadObject(QString _filename)
65 QFileInfo file(_filename);
68 emit log(
LOGERR,tr(
"File %1 does not exist!").arg(_filename));
73 emit functionExists (
"scripting",
"slotLoadScript(QString)", ok);
QScriptValue callFunction(QString _plugin, QString _functionName, std::vector< QScriptValue > _parameters)
Call a function provided by a plugin getting multiple parameters.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
const DataType DATA_UNKNOWN(0)
None of the other Objects.