camerauis/cameraxui/cxengine/src/cxecameradevicecontrolsymbian.cpp
changeset 48 42ba2d16bf40
parent 19 d9aefe59d544
child 51 ccc0e7e3344f
--- a/camerauis/cameraxui/cxengine/src/cxecameradevicecontrolsymbian.cpp	Tue Jul 06 14:04:02 2010 +0300
+++ b/camerauis/cameraxui/cxengine/src/cxecameradevicecontrolsymbian.cpp	Wed Aug 18 09:37:18 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -17,7 +17,6 @@
 #include "cxecameradevicecontrolsymbian.h"
 #include "cxesettingsimp.h"
 #include "cxefeaturemanagerimp.h"
-#include "cxesettingsmodel.h"
 #include "cxutils.h"
 #include "cxenamespace.h"
 #include "cxeerrormappingsymbian.h"
@@ -82,7 +81,7 @@
 
     if (state() == Idle) {
         setState(Initializing);
-        mCameraDevice->camera()->Reserve();
+        mCameraDevice->reserveCamera();
         OstTrace0(camerax_performance, CXECAMERADEVICECONTROLSYMBIAN_RESERVE, "msg: e_CX_RESERVE 1");
     } else if (state() == PendingRelease) {
         // if we get a reserve request and if there is a pending release