1// Copyright (C) 2025 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QLOTTIEPRECOMPLAYER_P_H
5#define QLOTTIEPRECOMPLAYER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtLottie/private/qlottielayer_p.h>
19
20QT_BEGIN_NAMESPACE
21
22class QLottieRenderer;
23
24class Q_LOTTIE_EXPORT QLottiePrecompLayer : public QLottieLayer
25{
26public:
27 QLottiePrecompLayer() = default;
28 explicit QLottiePrecompLayer(const QLottiePrecompLayer &other);
29 QLottiePrecompLayer(const QJsonObject &definition, const QMap<QString, QJsonObject> &assets);
30
31 QLottieBase *clone() const override;
32
33 void render(QLottieRenderer &renderer) const override;
34};
35
36QT_END_NAMESPACE
37
38#endif // QLOTTIEPRECOMPLAYER_P_H
39

source code of qtlottie/src/lottie/qlottieprecomplayer_p.h