author | alfadur |
Thu, 08 Nov 2018 07:15:22 +0300 | |
changeset 14170 | a4c1a2d0ac24 |
parent 14154 | 8354b390f1a2 |
child 14271 | 1aac8a62be6f |
permissions | -rw-r--r-- |
#include "engine_instance.h" EngineInstance::EngineInstance(QObject *parent) : QObject(parent), m_instance(Engine::start_engine()) {} EngineInstance::~EngineInstance() { Engine::cleanup(m_instance); } Engine::PreviewInfo EngineInstance::generatePreview() { Engine::PreviewInfo pinfo; Engine::generate_preview(m_instance, &pinfo); return pinfo; }