Add frozen TikZRefinery demo baseline and build pipeline
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include "model/EditorTypes.h"
|
||||
#include "tkrShapeProvider.h"
|
||||
#include <QPluginLoader>
|
||||
|
||||
namespace TikzRefinery {
|
||||
|
||||
// Owns one immutable module binding for this initial extraction. No hot unloading.
|
||||
class tkrShapePluginStore final
|
||||
{
|
||||
public:
|
||||
explicit tkrShapePluginStore(const QString &strModulePath = {});
|
||||
const tkrShapeProvider *provider() const;
|
||||
const OperationResult &loadResult() const;
|
||||
const QString &runtimeIdentity() const;
|
||||
QString description() const;
|
||||
QString modulePath() const;
|
||||
private:
|
||||
QPluginLoader m_loader;
|
||||
const tkrShapeProvider *m_pProvider = nullptr; // Borrowed from the pinned loader.
|
||||
OperationResult m_result;
|
||||
QString m_strRuntimeIdentity;
|
||||
QString m_strName;
|
||||
QString m_strVersion;
|
||||
};
|
||||
|
||||
} // namespace TikzRefinery
|
||||
Reference in New Issue
Block a user