Files
vpn-dns-gateway/demo/tikzrefinery/code/src/plugins/tkrShapePluginStore.h
T
vsun1 27b82c169e
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add frozen TikZRefinery demo baseline and build pipeline
2026-11-25 22:46:33 -05:00

29 lines
793 B
C++

#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