uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuiimagecommandchild.cpp
branchRCL_3
changeset 20 31fccae4f8a7
parent 10 7c5dd702d6d3
equal deleted inserted replaced
19:e5af45d51884 20:31fccae4f8a7
       
     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:  For test alf core toolkit api modules
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "testuiaifblockshuiimagecommandchild.h"
       
    20 
       
    21 TTestUiAifBlocksHuiImageCommandChild::TTestUiAifBlocksHuiImageCommandChild( CHuiImageVisual& aImageVisual, const THuiImage& aImage, 
       
    22     THuiOp aOperation ):THuiImageCommand( aImageVisual, aImage, aOperation )
       
    23     {
       
    24     // No implementation required
       
    25     }
       
    26 
       
    27 TTestUiAifBlocksHuiImageCommandChild::~TTestUiAifBlocksHuiImageCommandChild()
       
    28     {
       
    29     }
       
    30 
       
    31 TTestUiAifBlocksHuiImageCommandChild* TTestUiAifBlocksHuiImageCommandChild::NewLC( CHuiImageVisual& aImageVisual, const THuiImage& aImage, 
       
    32     THuiOp aOperation )
       
    33     {
       
    34     TTestUiAifBlocksHuiImageCommandChild* self = new (ELeave)TTestUiAifBlocksHuiImageCommandChild( aImageVisual, aImage, aOperation);
       
    35     CleanupStack::PushL(self);
       
    36     self->ConstructL();
       
    37     return self;
       
    38     }
       
    39 
       
    40 TTestUiAifBlocksHuiImageCommandChild* TTestUiAifBlocksHuiImageCommandChild::NewL( CHuiImageVisual& aImageVisual, const THuiImage& aImage, 
       
    41     THuiOp aOperation )
       
    42     {
       
    43     TTestUiAifBlocksHuiImageCommandChild* self=
       
    44             TTestUiAifBlocksHuiImageCommandChild::NewLC( aImageVisual, aImage, aOperation );
       
    45     CleanupStack::Pop(); // self;
       
    46     return self;
       
    47     }
       
    48 
       
    49 void TTestUiAifBlocksHuiImageCommandChild::ConstructL()
       
    50     {
       
    51 
       
    52     }
       
    53 
       
    54 void TTestUiAifBlocksHuiImageCommandChild::SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams )
       
    55     {
       
    56     THuiImageCommand::CommandExtension( aExtensionUid, aExtensionParams );
       
    57     
       
    58     }