uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicontrolchild.h
branchRCL_3
changeset 20 31fccae4f8a7
parent 10 7c5dd702d6d3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicontrolchild.h	Wed Sep 01 12:16:53 2010 +0100
@@ -0,0 +1,90 @@
+/*
+* 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