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:
Dmytro Poplavskiy
2012-08-28 13:47:30 +10:00
committed by The Qt Project
parent 9cc977668f
commit ce135bff83
3 changed files with 6 additions and 4 deletions

View File

@@ -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
{

View File

@@ -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
{

View File

@@ -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