50 #ifndef FILESCRIPTPLUGIN_HH 51 #define FILESCRIPTPLUGIN_HH 73 #if QT_VERSION >= 0x050000 74 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-FileScript")
79 void log(
Logtype _type, QString _message);
80 void log(QString _message);
83 void pluginExists (QString _pluginName,
bool& _exists) ;
84 void functionExists (QString _pluginName, QString _functionName,
bool& _exists);
88 void noguiSupported( ) {} ;
94 QString
name() {
return (QString(
"FileScript")); };
95 QString
description( ) {
return (QString(tr(
"Load Scripts"))); };
109 int loadObject(QString _filename);
114 QString version() {
return QString(
"1.0"); };
118 #endif //FILESCRIPTPLUGIN_HH bool saveObject(int, QString)
No objects are saved by this Plugin so ignore the saveObject call.
Logtype
Log types for Message Window.
QString description()
Return a description of what the plugin is doing.
Interface for all Plugins which provide scriptable Functions.
Interface class from which all plugins have to be created.
Interface for all Plugins which do logging to the logging window of the framework.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
Interface class for file handling.
QString name()
Return a name for the plugin.
Interface for all plugins which want to Load or Save files and create Objects.
QWidget * saveOptionsWidget(QString)
Interface to call functions across plugins.
QWidget * loadOptionsWidget(QString)