新插件加入可选列表
This commit is contained in:
parent
5ea592f822
commit
ea9b6e1e41
|
@ -326,10 +326,13 @@ void DeduceFramework::execute(std::shared_ptr<Immediate> map,
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "VisibleCube.h"
|
#include "VisibleCube.h"
|
||||||
|
#include "SurfaceMotion.h"
|
||||||
ComponentFactory::ComponentFactory()
|
ComponentFactory::ComponentFactory()
|
||||||
{
|
{
|
||||||
auto ins = std::make_shared<VisibleCubePlugin>();
|
auto ins = std::make_shared<VisibleCubePlugin>();
|
||||||
_comp_types[ins->name()] = ins;
|
_comp_types[ins->name()] = ins;
|
||||||
|
auto ins1 = std::make_shared<SurfaceMotionPlugin>();
|
||||||
|
_comp_types[ins1->name()] = ins1;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<WsComponent> ComponentFactory::makeNew(const QString& type)
|
std::shared_ptr<WsComponent> ComponentFactory::makeNew(const QString& type)
|
||||||
|
|
Loading…
Reference in New Issue