| 1 | // Copyright (C) 2024 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 QGSTREAMER_QIODEVICE_HANDLER_H |
| 5 | #define QGSTREAMER_QIODEVICE_HANDLER_H |
| 6 | |
| 7 | #include <QtCore/qglobal.h> |
| 8 | #include <gst/gstplugin.h> |
| 9 | |
| 10 | // |
| 11 | // W A R N I N G |
| 12 | // ------------- |
| 13 | // |
| 14 | // This file is not part of the Qt API. It exists purely as an |
| 15 | // implementation detail. This header file may change from version to |
| 16 | // version without notice, or even be removed. |
| 17 | // |
| 18 | // We mean it. |
| 19 | // |
| 20 | |
| 21 | QT_BEGIN_NAMESPACE |
| 22 | |
| 23 | class QIODevice; |
| 24 | class QUrl; |
| 25 | |
| 26 | void qGstRegisterQIODeviceHandler(GstPlugin *plugin); |
| 27 | |
| 28 | // Note: if the QIODevice is sequential, the QUrl is only allowed to be used in one location. |
| 29 | // if the QUrl is not sequential, it can be passed to multiple destinations |
| 30 | QUrl qGstRegisterQIODevice(QIODevice *); |
| 31 | |
| 32 | QT_END_NAMESPACE |
| 33 | |
| 34 | #endif |
| 35 | |