51 #ifndef TYPECAMERAPLUGIN_HH 52 #define TYPECAMERAPLUGIN_HH 74 #if QT_VERSION >= 0x050000 75 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-TypeCamera")
80 void log(
Logtype _type, QString _message);
81 void log(QString _message);
84 void emptyObjectAdded(
int _id );
92 void noguiSupported( ) {} ;
98 void slotUpdateContextMenuObject(
int _objectId );
105 QString
name() {
return (QString(
"TypeCamera")); };
106 QString
description( ) {
return (QString(tr(
"Register Camera type"))); };
113 QString version() {
return QString(
"1.0"); };
120 void contextMenuClicked(QAction* _contextAction);
128 #endif //TYPECAMERAPLUGIN_HH Interface class for creating custom context menus.
QString name()
Return a name for the plugin.
Logtype
Log types for Message Window.
int addEmpty()
Create an empty object.
Interface class for type definitions.
QString description()
Return a description of what the plugin is doing.
Interface class from which all plugins have to be created.
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 for all plugins which want to Load or Save files and create Objects.
void pluginsInitialized()
Initialize Plugin step 2.