47 #ifndef TYPEPOLYMESHPLUGIN_HH 48 #define TYPEPOLYMESHPLUGIN_HH 68 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-TypePolyMesh")
72 void log(
Logtype _type, QString _message);
73 void log(QString _message);
76 void emptyObjectAdded(
int _id );
80 void noguiSupported( ) {} ;
87 QString
name() {
return (QString(
"TypePolyMesh")); };
88 QString
description( ) {
return (QString(tr(
"Register PolyMesh type"))); };
95 QString version() {
return QString(
"1.0"); };
106 #endif //TYPEPOLYMESHPLUGIN_HH Interface class for type definitions.
Logtype
Log types for Message Window.
QString description()
Return a description of what the plugin is doing.
void generateBackup(int _id, QString _name, UpdateType _type)
This slot should be implemented in a TypePlugin to generate type specific backups.
Interface for all Plugins which do logging to the logging window of the framework.
QString name()
Return a name for the plugin.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
int addEmpty()
Create an empty object.
Interface class from which all plugins have to be created.
Interface for all plugins which want to Load or Save files and create Objects.