startupservices/startupanimation/tsrc/TSanimctrl/src/sanimctrlrootsuite.cpp
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:  Implementation of CSAnimCtrlRootSuite class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "sanimctrlrootsuite.h"
       
    20 #include "sanimmockview.h"
       
    21 
       
    22 #pragma tagging OFF // To disable CodeTest tagging
       
    23 
       
    24 // ======== MEMBER FUNCTIONS ========
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // CSAnimCtrlRootSuite::NewL
       
    28 //
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 CSAnimCtrlRootSuite* CSAnimCtrlRootSuite::NewL()
       
    32     {
       
    33     CSAnimCtrlRootSuite* self = CSAnimCtrlRootSuite::NewLC();
       
    34     CleanupStack::Pop( self );
       
    35     return self;
       
    36     }
       
    37 
       
    38 
       
    39 // ---------------------------------------------------------------------------
       
    40 // CSAnimCtrlRootSuite::NewLC
       
    41 //
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 CSAnimCtrlRootSuite* CSAnimCtrlRootSuite::NewLC()
       
    45     {
       
    46     CSAnimCtrlRootSuite* self = new( ELeave ) CSAnimCtrlRootSuite;
       
    47     CleanupStack::PushL( self );
       
    48     self->ConstructL();
       
    49     return self;
       
    50     }
       
    51 
       
    52 
       
    53 // ---------------------------------------------------------------------------
       
    54 // CSAnimCtrlRootSuite::~CSAnimCtrlRootSuite
       
    55 //
       
    56 // ---------------------------------------------------------------------------
       
    57 //
       
    58 CSAnimCtrlRootSuite::~CSAnimCtrlRootSuite()
       
    59     {
       
    60     delete iView;
       
    61     }
       
    62 
       
    63 
       
    64 // ---------------------------------------------------------------------------
       
    65 // CSAnimCtrlRootSuite::MainView
       
    66 //
       
    67 // ---------------------------------------------------------------------------
       
    68 //
       
    69 CSAnimMockView& CSAnimCtrlRootSuite::MainView()
       
    70     {
       
    71     return *iView;
       
    72     }
       
    73 
       
    74 
       
    75 // ---------------------------------------------------------------------------
       
    76 // CSAnimCtrlRootSuite::CSAnimCtrlRootSuite
       
    77 //
       
    78 // ---------------------------------------------------------------------------
       
    79 //
       
    80 CSAnimCtrlRootSuite::CSAnimCtrlRootSuite()
       
    81     {
       
    82     }
       
    83 
       
    84 
       
    85 // ---------------------------------------------------------------------------
       
    86 // CSAnimCtrlRootSuite::ConstructL
       
    87 //
       
    88 // ---------------------------------------------------------------------------
       
    89 //
       
    90 void CSAnimCtrlRootSuite::ConstructL()
       
    91     {
       
    92     iView = CSAnimMockView::NewL();
       
    93     }
       
    94 
       
    95 
       
    96 #pragma tagging ON // To stop disabling CodeTest tagging