51 #ifndef TYPEINTERFACE_HH 52 #define TYPEINTERFACE_HH 90 virtual bool registerType() = 0;
236 Q_DECLARE_INTERFACE(
TypeInterface,
"OpenFlipper.TypeInterface/1.1")
238 #endif // TYPEINTERFACE_HH
virtual int addEmpty()=0
Create an empty object.
Interface class for type definitions.
virtual void emptyObjectAdded(int _id)
Emit this signal if an empty object has been created.
virtual ~TypeInterface()
Destructor.
virtual DataType supportedType()=0
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
virtual void generateBackup(int _id, QString _name, UpdateType _type)
This slot should be implemented in a TypePlugin to generate type specific backups.