Fixed AVF camera backend build with namespaced Qt
Objective-C declarations may only appear in global scope, moved them out of Qt namespace Change-Id: Icb136be75f544e5929ac28f0ba0681211b81a983 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
9cc977668f
commit
ce135bff83
@@ -47,12 +47,13 @@
|
||||
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
|
||||
@class AVFCameraSessionObserver;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class AVFCameraControl;
|
||||
class AVFCameraService;
|
||||
class AVFVideoRendererControl;
|
||||
@class AVFCameraSessionObserver;
|
||||
|
||||
class AVFCameraSession : public QObject
|
||||
{
|
||||
|
||||
@@ -48,12 +48,13 @@
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
#include "avfstoragelocation.h"
|
||||
|
||||
@class AVFMediaRecorderDelegate;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class AVFCameraSession;
|
||||
class AVFCameraControl;
|
||||
class AVFCameraService;
|
||||
@class AVFMediaRecorderDelegate;
|
||||
|
||||
class AVFMediaRecorderControl : public QMediaRecorderControl
|
||||
{
|
||||
|
||||
@@ -48,14 +48,14 @@
|
||||
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
|
||||
@class AVFCaptureFramesDelegate;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class AVFCameraSession;
|
||||
class AVFCameraService;
|
||||
class AVFVideoRendererControl;
|
||||
|
||||
@class AVFCaptureFramesDelegate;
|
||||
|
||||
class AVFVideoRendererControl : public QVideoRendererControl
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user