uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicontrolchild.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:16:53 +0100
branchRCL_3
changeset 20 31fccae4f8a7
parent 10 7c5dd702d6d3
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  test api of alf_core_toolkit
*
*/


#ifndef TESTUIAIFBLOCKSHUICONTROLCHILD_H
#define TESTUIAIFBLOCKSHUICONTROLCHILD_H

// INCLUDES
#include <e32std.h>
#include <e32base.h>
#include <uiacceltk/huienv.h>
#include <uiacceltk/huicontrol.h>

// CLASS DECLARATION

/**
 *  CTestUiAifBlocksHuiControlChild
 * 
 */
class CTestUiAifBlocksHuiControlChild : public CHuiControl
    {
public:
    // Constructors and destructor

    /**
     * Destructor.
     */
    ~CTestUiAifBlocksHuiControlChild();

    /**
     * Two-phased constructor.
     */
    static CTestUiAifBlocksHuiControlChild* NewL( CHuiEnv& aEnv );

    /**
     * Two-phased constructor.
     */
    static CTestUiAifBlocksHuiControlChild* NewLC( CHuiEnv& aEnv );

public:

    /**
     * Constructor for performing 1st stage construction
     */
    CTestUiAifBlocksHuiControlChild( CHuiEnv& aEnv );

    /**
     * EPOC default constructor for performing 2nd stage construction
     */
    void ConstructL();
    
    void ChildNotifyControlVisibility( TBool aIsVisible, CHuiDisplay& aDisplay );
    
    void ChildVisualAddedL( CHuiVisual* aVisual );
    
    void ChildVisualRemovedL( CHuiVisual* aVisual );
    
    void ChildConnectionAddedL( CHuiControl* aConnectedControl, TInt aRole );
    
    void ChildConnectionRemovedL( CHuiControl* aConnectedControl, TInt aRole );
    
    void ChildHostChangingL( CHuiControl* aNewHost );
    
    void ChildBaseConstructL();
    
    void ChildControlExtensionL( const TUid& aExtensionUid, TAny** aExtensionParams );

    void ChildTypeL();

    TInt ChildSessionIdL();

    void ChildSetSessionIdL( TInt aSessionId );

    };

#endif // TESTUIAIFBLOCKSHUICONTROLCHILD_H