Files
vpn-dns-gateway/demo/tikzrefinery/code/plugins/rectangle/tkrRectangleShapeProvider.h
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

21 lines
695 B
C++

#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