classicui_plat/ganes_api/tsrc/src/testplatganeblockshgsinglelargelist.cpp
changeset 47 2f0c06423c72
parent 46 0e1e0022bd03
child 53 3c67ea82fafc
equal deleted inserted replaced
46:0e1e0022bd03 47:2f0c06423c72
     1 /*
       
     2 * Copyright (c) 2002 - 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 "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:  ganes_api
       
    15 *
       
    16 */
       
    17 
       
    18 // [INCLUDE FILES]
       
    19 #include "testplatgane.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS =========================
       
    22 
       
    23 
       
    24 // --------------------------------------------------------------------------
       
    25 // CTestPlatGane::TestCHgSingleLargeListNewL
       
    26 // --------------------------------------------------------------------------
       
    27 //
       
    28 TInt CTestPlatGane::TestCHgSingleLargeListNewL( CStifItemParser& /*aItem*/ )
       
    29     {
       
    30     _LIT(Kctestplatgane, "CTestPlatGane");
       
    31     _LIT(Ktestchgsinglelargelistnewl, "In TestCHgSingleLargeListNewL");
       
    32     TestModuleIf().Printf(0, Kctestplatgane, Ktestchgsinglelargelistnewl);
       
    33     iLog->Log(Ktestchgsinglelargelistnewl);
       
    34 
       
    35     TInt left = 0;
       
    36     TInt wrigth = KTest;
       
    37     TInt item = 0;
       
    38     TRect rect(TPoint( left, left), TPoint( wrigth, wrigth) );
       
    39     
       
    40     CHgSingleLargeList* list = CHgSingleLargeList::NewL( rect, item);
       
    41     CleanupStack::PushL( list );
       
    42     CleanupStack::PopAndDestroy( list );
       
    43     
       
    44     return KErrNone;
       
    45     
       
    46     }
       
    47 
       
    48 // --------------------------------------------------------------------------
       
    49 // CTestPlatGane::TestCHgSingleLargeListPreferredImageSize
       
    50 // --------------------------------------------------------------------------
       
    51 //
       
    52 TInt CTestPlatGane::TestCHgSingleLargeListPreferredImageSize( CStifItemParser& /*aItem*/ )
       
    53     {
       
    54     _LIT(Kctestplatgane, "CTestPlatGane");
       
    55     _LIT(KTestCHgSingleLargeListPreferredImageSize, "In TestCHgSingleLargeListPreferredImageSize");
       
    56     TestModuleIf().Printf(0, Kctestplatgane, KTestCHgSingleLargeListPreferredImageSize);
       
    57     iLog->Log(KTestCHgSingleLargeListPreferredImageSize);
       
    58 
       
    59     CHgSingleLargeList::PreferredImageSize();
       
    60 
       
    61     return KErrNone;
       
    62     }
       
    63