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
QWidget * saveOptionsWidget(QString)
Interface to call functions across plugins.
QString description()
Return a description of what the plugin is doing.
Interface for all plugins which want to Load or Save files and create Objects.
Interface for all Plugins which provide scriptable Functions.
Interface for all Plugins which do logging to the logging window of the framework.
QWidget * loadOptionsWidget(QString)
bool saveObject(int, QString)
No objects are saved by this Plugin so ignore the saveObject call.
Interface class from which all plugins have to be created.
Logtype
Log types for Message Window.
Interface class for file handling.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
QString name()
Return a name for the plugin.