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);
80 void noguiSupported( ) {} ;
86 QString
name() {
return (QString(
"FileScript")); };
87 QString
description( ) {
return (QString(tr(
"Load Scripts"))); };
101 int loadObject(QString _filename);
106 QString version() {
return QString(
"1.0"); };
110 #endif //FILESCRIPTPLUGIN_HH QWidget * loadOptionsWidget(QString)
QString description()
Return a description of what the plugin is doing.
Logtype
Log types for Message Window.
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 to call functions across plugins.
bool saveObject(int, QString)
No objects are saved by this Plugin so ignore the saveObject call.
QString name()
Return a name for the plugin.
QWidget * saveOptionsWidget(QString)
Interface for all Plugins which provide scriptable Functions.
Interface class from which all plugins have to be created.
Interface class for file handling.
Interface for all plugins which want to Load or Save files and create Objects.