1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
// SPDX-FileCopyrightText: 2004 Dominique Devriese <devriese@kde.org>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "base_type.h"
class VectorType : public ObjectABType
{
VectorType();
~VectorType();
public:
static const VectorType *instance();
ObjectImp *calcx(const Coordinate &a, const Coordinate &b) const override;
const ObjectImpType *resultId() const override;
};
class VectorSumType : public ArgsParserObjectType
{
VectorSumType();
~VectorSumType();
public:
static const VectorSumType *instance();
ObjectImp *calc(const Args &args, const KigDocument &) const override;
const ObjectImpType *resultId() const override;
};
|