diff -r f54ad444594d -r 61bc0f252b2b camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakecameradevice.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakecameradevice.h Tue Aug 31 15:03:46 2010 +0300 @@ -0,0 +1,46 @@ +/* +* Copyright (c) 2009 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" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ +#ifndef CXEFAKECAMERADEVICE_H +#define CXEFAKECAMERADEVICE_H + +#include + +#include "cxecameradevice.h" + + +/* + * CxeFakeCameraDevice class is derived from CxeCameraDevice, since there is no interface class + */ +class CxeFakeCameraDevice : public CxeCameraDevice +{ + Q_OBJECT + +public: + CxeFakeCameraDevice(); + virtual ~CxeFakeCameraDevice(); + +public: + // only this methdod is overridden, other implementation comes from the base class + CxeError::Id newCamera(Cxe::CameraIndex cameraIndex, MCameraObserver2 *observer); + + +friend class CxeCameraDeviceControlSymbian; +}; + + +#endif // CXEFAKECAMERADEVICE_H +