uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicontrolchild.h
branchRCL_3
changeset 19 e5af45d51884
parent 18 1801340c26a2
child 20 31fccae4f8a7
equal deleted inserted replaced
18:1801340c26a2 19:e5af45d51884
     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:  test api of alf_core_toolkit
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TESTUIAIFBLOCKSHUICONTROLCHILD_H
       
    20 #define TESTUIAIFBLOCKSHUICONTROLCHILD_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 #include <uiacceltk/huienv.h>
       
    26 #include <uiacceltk/huicontrol.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  *  CTestUiAifBlocksHuiControlChild
       
    32  * 
       
    33  */
       
    34 class CTestUiAifBlocksHuiControlChild : public CHuiControl
       
    35     {
       
    36 public:
       
    37     // Constructors and destructor
       
    38 
       
    39     /**
       
    40      * Destructor.
       
    41      */
       
    42     ~CTestUiAifBlocksHuiControlChild();
       
    43 
       
    44     /**
       
    45      * Two-phased constructor.
       
    46      */
       
    47     static CTestUiAifBlocksHuiControlChild* NewL( CHuiEnv& aEnv );
       
    48 
       
    49     /**
       
    50      * Two-phased constructor.
       
    51      */
       
    52     static CTestUiAifBlocksHuiControlChild* NewLC( CHuiEnv& aEnv );
       
    53 
       
    54 public:
       
    55 
       
    56     /**
       
    57      * Constructor for performing 1st stage construction
       
    58      */
       
    59     CTestUiAifBlocksHuiControlChild( CHuiEnv& aEnv );
       
    60 
       
    61     /**
       
    62      * EPOC default constructor for performing 2nd stage construction
       
    63      */
       
    64     void ConstructL();
       
    65     
       
    66     void ChildNotifyControlVisibility( TBool aIsVisible, CHuiDisplay& aDisplay );
       
    67     
       
    68     void ChildVisualAddedL( CHuiVisual* aVisual );
       
    69     
       
    70     void ChildVisualRemovedL( CHuiVisual* aVisual );
       
    71     
       
    72     void ChildConnectionAddedL( CHuiControl* aConnectedControl, TInt aRole );
       
    73     
       
    74     void ChildConnectionRemovedL( CHuiControl* aConnectedControl, TInt aRole );
       
    75     
       
    76     void ChildHostChangingL( CHuiControl* aNewHost );
       
    77     
       
    78     void ChildBaseConstructL();
       
    79     
       
    80     void ChildControlExtensionL( const TUid& aExtensionUid, TAny** aExtensionParams );
       
    81 
       
    82     void ChildTypeL();
       
    83 
       
    84     TInt ChildSessionIdL();
       
    85 
       
    86     void ChildSetSessionIdL( TInt aSessionId );
       
    87 
       
    88     };
       
    89 
       
    90 #endif // TESTUIAIFBLOCKSHUICONTROLCHILD_H