| 1 | // Copyright (C) 2023 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 |  | 
|---|
| 4 | #ifndef QTVIDEO_H | 
|---|
| 5 | #define QTVIDEO_H | 
|---|
| 6 |  | 
|---|
| 7 | #include <QtMultimedia/qtmultimediaexports.h> | 
|---|
| 8 | #include <QtCore/qobjectdefs.h> | 
|---|
| 9 | #include <QtCore/qtconfigmacros.h> | 
|---|
| 10 | #include <QtCore/qtypes.h> | 
|---|
| 11 |  | 
|---|
| 12 | QT_BEGIN_NAMESPACE | 
|---|
| 13 |  | 
|---|
| 14 | namespace QtVideo | 
|---|
| 15 | { | 
|---|
| 16 | Q_NAMESPACE_EXPORT(Q_MULTIMEDIA_EXPORT) | 
|---|
| 17 |  | 
|---|
| 18 | enum class Rotation { | 
|---|
| 19 | None = 0, | 
|---|
| 20 | Clockwise90 = 90, | 
|---|
| 21 | Clockwise180 = 180, | 
|---|
| 22 | Clockwise270 = 270, | 
|---|
| 23 | }; | 
|---|
| 24 | Q_ENUM_NS(Rotation) | 
|---|
| 25 |  | 
|---|
| 26 | } // namespace QtVideo | 
|---|
| 27 |  | 
|---|
| 28 | QT_END_NAMESPACE | 
|---|
| 29 |  | 
|---|
| 30 | #endif // QTVIDEO_H | 
|---|
| 31 |  | 
|---|