| 1 | // Copyright (C) 2016 Intel Corporation. |
| 2 | // Copyright (C) 2023 The Qt Company Ltd. |
| 3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 4 | |
| 5 | #ifndef QTSVGGLOBAL_H |
| 6 | #define QTSVGGLOBAL_H |
| 7 | |
| 8 | #include <QtCore/qglobal.h> |
| 9 | #include <QtSvg/qtsvgexports.h> |
| 10 | |
| 11 | QT_BEGIN_NAMESPACE |
| 12 | |
| 13 | namespace QtSvg { |
| 14 | |
| 15 | enum Option : quint32 { |
| 16 | NoOption = 0x00, |
| 17 | Tiny12FeaturesOnly = 0x01, |
| 18 | AssumeTrustedSource = 0x02, |
| 19 | // reserved for non-animation options: 0x04 |
| 20 | // reserved for non-animation options: 0x08 |
| 21 | DisableSMILAnimations = 0x10, |
| 22 | DisableCSSAnimations = 0x20, |
| 23 | // reserved for potentially other animations: 0x40 |
| 24 | // reserved for potentially other animations: 0x80 |
| 25 | DisableAnimations = 0xf0, |
| 26 | // next value for non-animations: 0x0100 |
| 27 | }; |
| 28 | Q_DECLARE_FLAGS(Options, Option) |
| 29 | Q_DECLARE_OPERATORS_FOR_FLAGS(Options) |
| 30 | |
| 31 | } |
| 32 | |
| 33 | QT_END_NAMESPACE |
| 34 | |
| 35 | #endif |
| 36 | |