| 1 | // Copyright (C) 2016 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 | #include "qplatformimagecapture_p.h" |
| 5 | #include <QtCore/qstringlist.h> |
| 6 | |
| 7 | QT_BEGIN_NAMESPACE |
| 8 | |
| 9 | QPlatformImageCapture::QPlatformImageCapture(QImageCapture *parent) |
| 10 | : QObject(parent), |
| 11 | m_imageCapture(parent) |
| 12 | { |
| 13 | } |
| 14 | |
| 15 | QString QPlatformImageCapture::msgCameraNotReady() |
| 16 | { |
| 17 | return QImageCapture::tr(s: "Camera is not ready."); |
| 18 | } |
| 19 | |
| 20 | QString QPlatformImageCapture::msgImageCaptureNotSet() |
| 21 | { |
| 22 | return QImageCapture::tr(s: "No instance of QImageCapture set on QMediaCaptureSession."); |
| 23 | } |
| 24 | |
| 25 | QT_END_NAMESPACE |
| 26 | |
| 27 | #include "moc_qplatformimagecapture_p.cpp" |
| 28 |
