44#ifndef FILESCRIPTPLUGIN_HH
45#define FILESCRIPTPLUGIN_HH
67 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-FileScript")
71 void log(
Logtype _type, QString _message);
72 void log(QString _message);
75 void pluginExists (QString _pluginName,
bool& _exists) ;
76 void functionExists (QString _pluginName, QString _functionName,
bool& _exists);
79 void showScriptInEditor( QString _filename );
83 void noguiSupported( ) {} ;
89 QString
name() {
return (QString(
"FileScript")); };
90 QString
description( ) {
return (QString(tr(
"Load Scripts"))); };
104 int loadObject(QString _filename);
109 QString version() {
return QString(
"1.0"); };
Logtype
Log types for Message Window.
Interface class from which all plugins have to be created.
Interface class for file handling.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
QWidget * saveOptionsWidget(QString)
bool saveObject(int, QString)
No objects are saved by this Plugin so ignore the saveObject call.
QString description()
Return a description of what the plugin is doing.
QString name()
Return a name for the plugin.
QWidget * loadOptionsWidget(QString)
Interface for all plugins which want to Load or Save files and create Objects.
Interface for all Plugins which do logging to the logging window of the framework.
Interface to call functions across plugins.
Interface for all Plugins which provide scriptable Functions.