camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakecameradevice.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 53 61bc0f252b2b
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #ifndef CXEFAKECAMERADEVICE_H
       
    18 #define CXEFAKECAMERADEVICE_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 #include "cxecameradevice.h"
       
    23 
       
    24 
       
    25 /*
       
    26  * CxeFakeCameraDevice class is derived from CxeCameraDevice, since there is no interface class
       
    27  */
       
    28 class CxeFakeCameraDevice  : public CxeCameraDevice
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33     CxeFakeCameraDevice();
       
    34     virtual ~CxeFakeCameraDevice();
       
    35 
       
    36 public:
       
    37     // only this methdod is overridden, other implementation comes from the base class
       
    38     CxeError::Id newCamera(Cxe::CameraIndex cameraIndex, MCameraObserver2 *observer);
       
    39 
       
    40 
       
    41 friend class CxeCameraDeviceControlSymbian;
       
    42 };
       
    43 
       
    44 
       
    45 #endif  // CXEFAKECAMERADEVICE_H
       
    46