summaryrefslogtreecommitdiffstats
path: root/src/multimedia/platform/qplatformimagecapture.cpp
blob: 5d834925649c702ff110d6af19049039af635664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#include "qplatformimagecapture_p.h"
#include <QtCore/qstringlist.h>

QT_BEGIN_NAMESPACE

QPlatformImageCapture::QPlatformImageCapture(QImageCapture *parent)
    : QObject(parent),
    m_imageCapture(parent)
{
}

QString QPlatformImageCapture::msgCameraNotReady()
{
    return QImageCapture::tr("Camera is not ready.");
}

QString QPlatformImageCapture::msgImageCaptureNotSet()
{
    return QImageCapture::tr("No instance of QImageCapture set on QMediaCaptureSession.");
}

QT_END_NAMESPACE

#include "moc_qplatformimagecapture_p.cpp"