startupservices/startupanimation/tsrc/TSanimctrl/inc/sanimctrlrootsuite.h
changeset 77 b01c07dfcf84
equal deleted inserted replaced
74:1505405bc645 77:b01c07dfcf84
       
     1 /*
       
     2 * Copyright (c) 2007 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 the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Declaration of CSAnimCtrlRootSuite class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SANIMCTRLROOTSUITE_H
       
    20 #define SANIMCTRLROOTSUITE_H
       
    21 
       
    22 class CSAnimMockView;
       
    23 
       
    24 /**
       
    25 *  Root test suite for SAnimCtrl tests.
       
    26 *
       
    27 *  @lib None
       
    28 *  @since S60 3.2
       
    29 */
       
    30 class CSAnimCtrlRootSuite 
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     /**
       
    36     * Constructs a CSAnimCtrlRootSuite object.
       
    37     *
       
    38     * @since S60 3.2
       
    39     *
       
    40     * @return The new object
       
    41     */
       
    42     static CSAnimCtrlRootSuite* NewL();
       
    43     static CSAnimCtrlRootSuite* NewLC();
       
    44 
       
    45     /**
       
    46     * Destructor.
       
    47     *
       
    48     * @since S60 3.2
       
    49     */
       
    50     virtual ~CSAnimCtrlRootSuite();
       
    51 
       
    52     /**
       
    53     * Return a reference to the main view.
       
    54     *
       
    55     * @since S60 3.2
       
    56     *
       
    57     * @return A reference to the main view.
       
    58     */
       
    59     CSAnimMockView& MainView();
       
    60 
       
    61 private:
       
    62 
       
    63     /**
       
    64     * First phase constructor.
       
    65     *
       
    66     * @since S60 3.2
       
    67     */
       
    68     CSAnimCtrlRootSuite();
       
    69 
       
    70     /**
       
    71     * Second phase constructor.
       
    72     *
       
    73     * @since S60 3.2
       
    74     */
       
    75     void ConstructL();
       
    76 
       
    77 private: // data
       
    78 
       
    79     /** Parent control for the objects to be tested. */
       
    80     CSAnimMockView* iView;
       
    81 
       
    82     };
       
    83 
       
    84 #endif // SANIMCTRLROOTSUITE_H