Fixed AVF camera backend build with namespaced Qt
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
Tue, 28 Aug 2012 03:47:30 +0000 (13:47 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 9 Oct 2012 08:50:32 +0000 (10:50 +0200)
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>
src/plugins/avfoundation/camera/avfcamerasession.h
src/plugins/avfoundation/camera/avfmediarecordercontrol.h
src/plugins/avfoundation/camera/avfvideorenderercontrol.h

index b2026af..86b8a23 100644 (file)
 
 #import <AVFoundation/AVFoundation.h>
 
+@class AVFCameraSessionObserver;
+
 QT_BEGIN_NAMESPACE
 
 class AVFCameraControl;
 class AVFCameraService;
 class AVFVideoRendererControl;
-@class AVFCameraSessionObserver;
 
 class AVFCameraSession : public QObject
 {
index 651d461..cecc00c 100644 (file)
 #import <AVFoundation/AVFoundation.h>
 #include "avfstoragelocation.h"
 
+@class AVFMediaRecorderDelegate;
+
 QT_BEGIN_NAMESPACE
 
 class AVFCameraSession;
 class AVFCameraControl;
 class AVFCameraService;
-@class AVFMediaRecorderDelegate;
 
 class AVFMediaRecorderControl : public QMediaRecorderControl
 {
index 367951a..b72bcd6 100644 (file)
 
 #import <AVFoundation/AVFoundation.h>
 
+@class AVFCaptureFramesDelegate;
+
 QT_BEGIN_NAMESPACE
 
 class AVFCameraSession;
 class AVFCameraService;
 class AVFVideoRendererControl;
 
-@class AVFCaptureFramesDelegate;
-
 class AVFVideoRendererControl : public QVideoRendererControl
 {
 Q_OBJECT