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)
target_sources(${TN}
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}/Interfaces/ENUMS.cpp"
"${CMAKE_CURRENT_LIST_DIR}/Interfaces/IBioTrackerContext.cpp"
"${CMAKE_CURRENT_LIST_DIR}/Interfaces/IBioTrackerPlugin.cpp"
"${CMAKE_CURRENT_LIST_DIR}/Interfaces/IController/IController.cpp"
......
#include "ENUMS.h"
\ No newline at end of file
......@@ -2,14 +2,15 @@
#define ENUMS_H
#include <QObject>
#include <Interfaces/API.h>
class ENUMS : public QObject
class BT_INTERFACES_API ENUMS : public QObject
{
Q_OBJECT
public:
enum CONTROLLERTYPE {
enum CONTROLLERTYPE : unsigned int{
NO_CTR,
MAINWINDOW,
TEXTUREOBJECT,
......@@ -26,9 +27,9 @@ public:
COMMANDS,
NOTIFICATION
};
Q_ENUM(CONTROLLERTYPE)
enum COREPERMISSIONS {
enum COREPERMISSIONS : unsigned int{
COMPONENTVIEW,
COMPONENTMOVE,
COMPONENTREMOVE,
......@@ -36,10 +37,7 @@ public:
COMPONENTADD,
COMPONENTROTATE
};
Q_ENUM(COREPERMISSIONS)
explicit ENUMS(QObject *parent = 0);
Q_ENUM(COREPERMISSIONS)
};
#endif // ENUMS_H
......@@ -11,6 +11,7 @@
#include "memory"
#include <Interfaces/API.h>
class BT_INTERFACES_API IBioTrackerPlugin : public QObject
{
Q_OBJECT
......
#ifndef ITRACKEDCOMPONENTFACTORY_H
#define ITRACKEDCOMPONENTFACTORY_H
#include "Interfaces/IModel/IModel.h"
#include "Interfaces/IModel/IModelTrackedComponent.h"
#include "IModel.h"
#include "IModelTrackedComponent.h"
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