camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxecameradevicecontrolsymbian/cxecameradevicecontrolunit.h
branchRCL_3
changeset 24 bac7acad7cb3
parent 23 61bc0f252b2b
child 25 2c87b2808fd7
equal deleted inserted replaced
23:61bc0f252b2b 24: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 CXEFAKECAMERADEVICECONTROL_H
       
    18 #define CXEFAKECAMERADEVICECONTROL_H
       
    19 
       
    20 //  Include Files
       
    21 
       
    22 #include "cxecameradevicecontrolsymbian.h"
       
    23 #include <QObject>
       
    24 //#include "cxecameradevice.h"
       
    25 //#include "cxestatemachine.h"¨
       
    26 
       
    27 class CxeCameraDeviceControlSymbian;
       
    28 
       
    29 
       
    30 /**
       
    31  * Camera device control class for unit testing. Identical to
       
    32  * CxeCameraDeviceControlSymbian except for that CxeFakeCameraDevice is used
       
    33  * instead of the real implementation.
       
    34  */
       
    35 class CxeCameraDeviceControlUnit : public CxeCameraDeviceControlSymbian 
       
    36 {
       
    37     Q_OBJECT
       
    38 
       
    39 public:
       
    40 
       
    41     CxeCameraDeviceControlUnit();
       
    42     virtual ~CxeCameraDeviceControlUnit();
       
    43 
       
    44 protected: // from CxeCameraDeviceControlSymbian
       
    45     CxeError::Id  newCamera(Cxe::CameraIndex cameraIndex);
       
    46 };
       
    47 
       
    48 #endif  // CXEFAKECAMERADEVICECONTROL_H
       
    49