camerauis/cameraxui/cxui/tsrc/cxuiviewmanagertest.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 CXUIVIEWMANAGERTEST_H
       
    18 #define CXUIVIEWMANAGERTEST_H
       
    19 
       
    20 #include <QObject>
       
    21 #include <hbview.h>
       
    22 #include "cxuifakeengine.h"
       
    23 
       
    24 class CxuiFakeEngine;
       
    25 class CXUIViewfinderWidget;
       
    26 class QGraphicsWidget;
       
    27 class HbMainWindow;
       
    28 
       
    29 class CxuiViewmanagerTest : public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33 private slots:
       
    34     // Called before each test case ( not yet needed...)
       
    35     //void init();
       
    36     // Called first before first test case
       
    37     void initTestCase();
       
    38     
       
    39     //void initStillImageMode();
       
    40     
       
    41     void cleanup();
       
    42 
       
    43     void createAndDestroyEngine();
       
    44     
       
    45     void cleanupTestCase();
       
    46     
       
    47 signals:
       
    48     void toPrecaptureView();
       
    49     void toPostcaptureView();
       
    50 
       
    51 private:
       
    52     HbMainWindow *mMainWindow;
       
    53     //CxeEngine *mEngine;  
       
    54     CxuiFakeEngine *mEngineFake;
       
    55 };
       
    56 
       
    57 #endif // CXEENGINETEST_H