Add frozen TikZRefinery demo baseline and build pipeline
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "tkrShapeProvider.h"
|
||||
#include <QObject>
|
||||
|
||||
namespace TikzRefinery {
|
||||
|
||||
class tkrRectangleShapeProvider final : public QObject, public tkrShapeProvider
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID TKR_SHAPE_PROVIDER_IID FILE "rectangle-plugin.json")
|
||||
Q_INTERFACES(TikzRefinery::tkrShapeProvider)
|
||||
public:
|
||||
QStringList availableOperations(const ShapeApi::ElementDescription &description) const override;
|
||||
ShapeApi::PresentationDescription describePresentation(
|
||||
const ShapeApi::ElementDescription &description) const override;
|
||||
ShapeApi::PreparationResult prepareOperation(const ShapeApi::OperationRequest &request) const override;
|
||||
};
|
||||
|
||||
} // namespace TikzRefinery
|
||||
Reference in New Issue
Block a user