62 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-FileLgt")
64 void openedFile(
int _id );
65 void addEmptyObject(
DataType _type,
int& _id);
66 void load(QString _filename,
DataType _type,
int& _id);
67 void save(
int _id , QString _filename );
68 void log(
Logtype _type, QString _message);
69 void log(QString _message);
71 void updatedObject(
int _id,
const UpdateType& _type);
75 void fileOpened(
int ){};
85 QString
name() {
return (QString(
"FileLight")); };
86 QString
description( ) {
return (QString(tr(
"Load/Save Lights"))); };
98 int loadObject(QString _filename);
100 bool saveObject(
int _id, QString _filename);
102 QString version() {
return QString(
"1.0"); };
QWidget * loadOptionsWidget(QString)
Logtype
Log types for Message Window.
QString description()
Return a description of what the plugin is doing.
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 )
QWidget * saveOptionsWidget(QString)
QString name()
Return a name for the plugin.
Interface for all Plugins which provide scriptable Functions.
void initializePlugin()
Initialize Plugin.
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.