summaryrefslogtreecommitdiffstats
path: root/src/plugins/winrt/qwinrtcameracontrol.h
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-09-25 12:24:51 +0200
committerOliver Wolff <oliver.wolff@qt.io>2017-09-26 05:20:14 +0000
commit4566ef694b0e3b36069e1861bb5b142a865974da (patch)
tree6cfbdc7e4fd22cccb50a19f79757478d4e0e97aa /src/plugins/winrt/qwinrtcameracontrol.h
parent020e7b4c198f5e74dd83da7fa8e64a02b14af2f9 (diff)
Ask for camera permissions
Task-number: QTBUG-63308 Change-Id: Ic66d5d50b026350cf03afc19c58fc7c93029a69a Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/plugins/winrt/qwinrtcameracontrol.h')
-rw-r--r--src/plugins/winrt/qwinrtcameracontrol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/winrt/qwinrtcameracontrol.h b/src/plugins/winrt/qwinrtcameracontrol.h
index f978a8b2c..7ef67e957 100644
--- a/src/plugins/winrt/qwinrtcameracontrol.h
+++ b/src/plugins/winrt/qwinrtcameracontrol.h
@@ -123,6 +123,8 @@ private:
HRESULT onCaptureFailed(ABI::Windows::Media::Capture::IMediaCapture *,
ABI::Windows::Media::Capture::IMediaCaptureFailedEventArgs *);
HRESULT onRecordLimitationExceeded(ABI::Windows::Media::Capture::IMediaCapture *);
+ HRESULT onInitializationCompleted(ABI::Windows::Foundation::IAsyncAction *,
+ ABI::Windows::Foundation::AsyncStatus);
QScopedPointer<QWinRTCameraControlPrivate> d_ptr;
Q_DECLARE_PRIVATE(QWinRTCameraControl)