Add frozen TikZRefinery demo baseline and build pipeline
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include "ShapeTypes.h"
|
||||
#include <QtPlugin>
|
||||
|
||||
#define TKR_SHAPE_PROVIDER_IID "org.tikzrefinery.ShapeProvider/1.0"
|
||||
|
||||
namespace TikzRefinery {
|
||||
|
||||
// Strategy interface; native modules require the exact documented build contract.
|
||||
class tkrShapeProvider
|
||||
{
|
||||
public:
|
||||
virtual ~tkrShapeProvider() = default;
|
||||
virtual QStringList availableOperations(const ShapeApi::ElementDescription &description) const = 0;
|
||||
virtual ShapeApi::PresentationDescription describePresentation(
|
||||
const ShapeApi::ElementDescription &description) const = 0;
|
||||
virtual ShapeApi::PreparationResult prepareOperation(const ShapeApi::OperationRequest &request) const = 0;
|
||||
};
|
||||
|
||||
} // namespace TikzRefinery
|
||||
|
||||
Q_DECLARE_INTERFACE(TikzRefinery::tkrShapeProvider, TKR_SHAPE_PROVIDER_IID)
|
||||
Reference in New Issue
Block a user