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

source code of qtmultimedia/src/multimedia/platform/qplatformimagecapture.cpp