44#include "FileScript.hh"
50 return QString( tr(
"OpenFlipper Scripting Files ( *.ofs *.ofp )") );
62int FileScriptPlugin::loadObject(QString _filename)
65 QFileInfo file(_filename);
68 emit log(
LOGERR,tr(
"File %1 does not exist!").arg(_filename));
72 if ( _filename.endsWith(
"ofp",Qt::CaseInsensitive) ) {
73 emit(showScriptInEditor(_filename));
78 emit functionExists (
"scripting",
"slotLoadScript(QString)", ok);
const DataType DATA_UNKNOWN(0)
None of the other Objects.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
void callFunction(QString _plugin, QString _functionName)
call a function in another plugin