|
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 #include "testuiaifblockshuicontrolchild.h" |
|
20 |
|
21 CTestUiAifBlocksHuiControlChild::CTestUiAifBlocksHuiControlChild( CHuiEnv& aEnv ): |
|
22 CHuiControl( aEnv ) |
|
23 { |
|
24 // No implementation required |
|
25 } |
|
26 |
|
27 CTestUiAifBlocksHuiControlChild::~CTestUiAifBlocksHuiControlChild() |
|
28 { |
|
29 } |
|
30 |
|
31 CTestUiAifBlocksHuiControlChild* CTestUiAifBlocksHuiControlChild::NewLC( CHuiEnv& aEnv ) |
|
32 { |
|
33 CTestUiAifBlocksHuiControlChild* self = new (ELeave)CTestUiAifBlocksHuiControlChild( aEnv ); |
|
34 CleanupStack::PushL(self); |
|
35 self->ConstructL(); |
|
36 return self; |
|
37 } |
|
38 |
|
39 CTestUiAifBlocksHuiControlChild* CTestUiAifBlocksHuiControlChild::NewL( CHuiEnv& aEnv ) |
|
40 { |
|
41 CTestUiAifBlocksHuiControlChild* self= |
|
42 CTestUiAifBlocksHuiControlChild::NewLC( aEnv ); |
|
43 CleanupStack::Pop(); // self; |
|
44 return self; |
|
45 } |
|
46 |
|
47 void CTestUiAifBlocksHuiControlChild::ConstructL() |
|
48 { |
|
49 |
|
50 } |
|
51 |
|
52 void CTestUiAifBlocksHuiControlChild::ChildNotifyControlVisibility( TBool aIsVisible, CHuiDisplay& aDisplay ) |
|
53 { |
|
54 CHuiControl::NotifyControlVisibility( aIsVisible, aDisplay ); |
|
55 } |
|
56 |
|
57 void CTestUiAifBlocksHuiControlChild::ChildVisualAddedL( CHuiVisual* aVisual ) |
|
58 { |
|
59 CHuiControl::VisualAddedL( aVisual ); |
|
60 } |
|
61 |
|
62 void CTestUiAifBlocksHuiControlChild::ChildVisualRemovedL( CHuiVisual* aVisual ) |
|
63 { |
|
64 CHuiControl::VisualRemoved( aVisual ); |
|
65 } |
|
66 |
|
67 void CTestUiAifBlocksHuiControlChild::ChildConnectionAddedL( CHuiControl* aConnectedControl, TInt aRole ) |
|
68 { |
|
69 CHuiControl::ConnectionAddedL( aConnectedControl, aRole ); |
|
70 } |
|
71 |
|
72 void CTestUiAifBlocksHuiControlChild::ChildConnectionRemovedL( CHuiControl* aConnectedControl, TInt aRole ) |
|
73 { |
|
74 CHuiControl::ConnectionRemoved( aConnectedControl, aRole ); |
|
75 } |
|
76 |
|
77 void CTestUiAifBlocksHuiControlChild::ChildHostChangingL( CHuiControl* aNewHost ) |
|
78 { |
|
79 CHuiControl::HostChangingL( aNewHost ); |
|
80 } |
|
81 |
|
82 void CTestUiAifBlocksHuiControlChild::ChildBaseConstructL() |
|
83 { |
|
84 CHuiControl::BaseConstructL(); |
|
85 } |
|
86 |
|
87 void CTestUiAifBlocksHuiControlChild::ChildControlExtensionL( const TUid& aExtensionUid, TAny** aExtensionParams ) |
|
88 { |
|
89 CHuiControl::ControlExtension( aExtensionUid, aExtensionParams ); |
|
90 } |
|
91 |
|
92 void CTestUiAifBlocksHuiControlChild::ChildTypeL() |
|
93 { |
|
94 CHuiControl::Type(); |
|
95 } |
|
96 |
|
97 TInt CTestUiAifBlocksHuiControlChild::ChildSessionIdL() |
|
98 { |
|
99 return CHuiControl::SessionId(); |
|
100 } |
|
101 |
|
102 void CTestUiAifBlocksHuiControlChild::ChildSetSessionIdL( TInt aSessionId ) |
|
103 { |
|
104 CHuiControl::SetSessionId( aSessionId ); |
|
105 } |