X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FComponent.h;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FComponent.h;h=44e1ac5fa55e48801b0a6522ead29ba712279076;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Component.h b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Component.h new file mode 100644 index 000000000..44e1ac5fa --- /dev/null +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Component.h @@ -0,0 +1,28 @@ +#pragma once + +#include "DataBoardAPI.h" + +#include + +namespace Databoard { + namespace Type { + + class DataType; + + class DATABOARD_API Component { + public: + Component(std::string name, DataType* type); + virtual ~Component(); + + std::string getName(); + DataType* getDataBoard(); + + protected: + + std::string name; + DataType* type; + + bool usingBuiltInType; + }; + } +}