53 #ifndef TYPETRIANGLEMESHPLUGIN_HH 54 #define TYPETRIANGLEMESHPLUGIN_HH 74 #if QT_VERSION >= 0x050000 75 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-TypeTriangleMesh")
80 void log(
Logtype _type, QString _message);
81 void log(QString _message);
84 void emptyObjectAdded(
int _id );
88 void noguiSupported( ) {} ;
95 QString
name() {
return (QString(
"TypeTriangleMesh")); };
96 QString
description( ) {
return (QString(tr(
"Register TriangleMesh type"))); };
103 QString version() {
return QString(
"1.0"); };
114 #endif //TYPETRIANGLEMESHPLUGIN_HH
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
Logtype
Log types for Message Window.
QString name()
Return a name for the plugin.
Interface class for type definitions.
Interface class from which all plugins have to be created.
Interface for all Plugins which do logging to the logging window of the framework.
int addEmpty()
Create an empty object.
Interface for all plugins which want to Load or Save files and create Objects.
QString description()
Return a description of what the plugin is doing.
#define DATA_TRIANGLE_MESH
void generateBackup(int _id, QString _name, UpdateType _type)
This slot should be implemented in a TypePlugin to generate type specific backups.