Coverage Report

Created: 2026-08-17 07:50

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/qtsvg/src/svg/animation/qsvgeasinginterface_p.h
Line
Count
Source
1
// Copyright (C) 2025 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
6
#ifndef QSVGEASINGINTERFACE_P_H
7
#define QSVGEASINGINTERFACE_P_H
8
9
//
10
//  W A R N I N G
11
//  -------------
12
//
13
// This file is not part of the Qt API.  It exists purely as an
14
// implementation detail.  This header file may change from version to
15
// version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
20
#include <QtSvg/private/qtsvgglobal_p.h>
21
#include <memory>
22
23
QT_BEGIN_NAMESPACE
24
25
class Q_SVG_EXPORT QSvgEasingInterface
26
{
27
    Q_DISABLE_COPY_MOVE(QSvgEasingInterface)
28
public:
29
0
    QSvgEasingInterface() = default;
30
    virtual ~QSvgEasingInterface();
31
    virtual qreal progress(qreal t) const = 0;
32
};
33
34
using QSvgEasingInterfacePtr = std::unique_ptr<QSvgEasingInterface>;
35
36
QT_END_NAMESPACE
37
38
#endif // QSVGEASINGINTERFACE_P_H