Skip to content
Snippets Groups Projects
Commit b6fdff36 authored by moenck's avatar moenck
Browse files

Fixes to static metaobject etc

parent da861257
No related branches found
No related tags found
No related merge requests found
Pipeline #12479 passed
{
"C_Cpp.default.configurationProvider": "vector-of-bool.cmake-tools",
"C_Cpp.configurationWarnings": "Disabled"
}
\ No newline at end of file
...@@ -25,6 +25,7 @@ target_compile_definitions(${TN} PRIVATE BT_INTERFACES_EXPORT) ...@@ -25,6 +25,7 @@ target_compile_definitions(${TN} PRIVATE BT_INTERFACES_EXPORT)
target_sources(${TN} target_sources(${TN}
PRIVATE PRIVATE
"${CMAKE_CURRENT_LIST_DIR}/Interfaces/ENUMS.cpp"
"${CMAKE_CURRENT_LIST_DIR}/Interfaces/IBioTrackerContext.cpp" "${CMAKE_CURRENT_LIST_DIR}/Interfaces/IBioTrackerContext.cpp"
"${CMAKE_CURRENT_LIST_DIR}/Interfaces/IBioTrackerPlugin.cpp" "${CMAKE_CURRENT_LIST_DIR}/Interfaces/IBioTrackerPlugin.cpp"
"${CMAKE_CURRENT_LIST_DIR}/Interfaces/IController/IController.cpp" "${CMAKE_CURRENT_LIST_DIR}/Interfaces/IController/IController.cpp"
......
#include "ENUMS.h"
\ No newline at end of file
...@@ -2,14 +2,15 @@ ...@@ -2,14 +2,15 @@
#define ENUMS_H #define ENUMS_H
#include <QObject> #include <QObject>
#include <Interfaces/API.h>
class ENUMS : public QObject class BT_INTERFACES_API ENUMS : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
enum CONTROLLERTYPE { enum CONTROLLERTYPE : unsigned int{
NO_CTR, NO_CTR,
MAINWINDOW, MAINWINDOW,
TEXTUREOBJECT, TEXTUREOBJECT,
...@@ -26,9 +27,9 @@ public: ...@@ -26,9 +27,9 @@ public:
COMMANDS, COMMANDS,
NOTIFICATION NOTIFICATION
}; };
Q_ENUM(CONTROLLERTYPE) Q_ENUM(CONTROLLERTYPE)
enum COREPERMISSIONS {
enum COREPERMISSIONS : unsigned int{
COMPONENTVIEW, COMPONENTVIEW,
COMPONENTMOVE, COMPONENTMOVE,
COMPONENTREMOVE, COMPONENTREMOVE,
...@@ -37,9 +38,6 @@ public: ...@@ -37,9 +38,6 @@ public:
COMPONENTROTATE COMPONENTROTATE
}; };
Q_ENUM(COREPERMISSIONS) Q_ENUM(COREPERMISSIONS)
explicit ENUMS(QObject *parent = 0);
}; };
#endif // ENUMS_H #endif // ENUMS_H
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "memory" #include "memory"
#include <Interfaces/API.h> #include <Interfaces/API.h>
class BT_INTERFACES_API IBioTrackerPlugin : public QObject class BT_INTERFACES_API IBioTrackerPlugin : public QObject
{ {
Q_OBJECT Q_OBJECT
......
#ifndef ITRACKEDCOMPONENTFACTORY_H #ifndef ITRACKEDCOMPONENTFACTORY_H
#define ITRACKEDCOMPONENTFACTORY_H #define ITRACKEDCOMPONENTFACTORY_H
#include "Interfaces/IModel/IModel.h" #include "IModel.h"
#include "Interfaces/IModel/IModelTrackedComponent.h" #include "IModelTrackedComponent.h"
class BT_INTERFACES_API IModelTrackedComponentFactory : public IModel class BT_INTERFACES_API IModelTrackedComponentFactory : public IModel
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment