classicui_plat/ganes_api/tsrc/src/testplatganeblockshgdoublegraphiclist.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 // --------------------------------------------------------------------------
       
    22 // CTestPlatGane::TestCHgDoubleGraphicListL
       
    23 // --------------------------------------------------------------------------
       
    24 //
       
    25 TInt CTestPlatGane::TestCHgDoubleGraphicListL( CStifItemParser& /*aItem*/ )
       
    26     {
       
    27     _LIT(Kctestplatgane, "CTestPlatGane");
       
    28     _LIT(Ktestchgdoublegraphiclistl, "In TestCHgDoubleGraphicListL");
       
    29     TestModuleIf().Printf(0, Kctestplatgane, Ktestchgdoublegraphiclistl);
       
    30     iLog->Log(Ktestchgdoublegraphiclistl);
       
    31 
       
    32     TInt left = 0;
       
    33     TInt wrigth = KTest;
       
    34     TInt item = 0;
       
    35     TRect rect(TPoint( left, left), TPoint( wrigth, wrigth) );
       
    36     CHgDoubleGraphicList* temp = CHgDoubleGraphicList::NewL( rect, item);
       
    37     CleanupStack::PushL( temp );
       
    38     CleanupStack::PopAndDestroy( temp );
       
    39 
       
    40     return KErrNone;
       
    41     }
       
    42 
       
    43 // --------------------------------------------------------------------------
       
    44 // CTestPlatGane::TestCHgDoubleGraphicListPreferredImageSize
       
    45 // --------------------------------------------------------------------------
       
    46 //
       
    47 TInt CTestPlatGane::TestCHgDoubleGraphicListPreferredImageSize( CStifItemParser& /*aItem*/ )
       
    48     {
       
    49     _LIT(Kctestplatgane, "CTestPlatGane");
       
    50     _LIT(KTestCHgDoubleGraphicListPreferredImageSize, "In TestCHgDoubleGraphicListPreferredImageSize");
       
    51     TestModuleIf().Printf(0, Kctestplatgane, KTestCHgDoubleGraphicListPreferredImageSize);
       
    52     iLog->Log(KTestCHgDoubleGraphicListPreferredImageSize);
       
    53 
       
    54     CHgDoubleGraphicList::PreferredImageSize();
       
    55 
       
    56     return KErrNone;
       
    57     }
       
    58