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 #include <uiacceltk/huitexturemanager.h> |
|
19 |
|
20 #include "testuiaifblockstexturechild.h" |
|
21 #include "testuiaifblocksmanagerchild.h" |
|
22 |
|
23 CTestUiAifBlocksTextureChild::CTestUiAifBlocksTextureChild( CHuiTextureManager& aManager ): |
|
24 CHuiAnimatedTexture( aManager ) |
|
25 { |
|
26 // No implementation required |
|
27 } |
|
28 |
|
29 void CTestUiAifBlocksTextureChild::AdvanceTime(TReal32 /*aElapsedTime*/) |
|
30 { |
|
31 |
|
32 } |
|
33 |
|
34 CTestUiAifBlocksTextureChild::~CTestUiAifBlocksTextureChild() |
|
35 { |
|
36 |
|
37 } |
|
38 |
|
39 |
|
40 CTestUiAifBlocksTextureChild* CTestUiAifBlocksTextureChild::NewL( CHuiTextureManager& aManager ) |
|
41 { |
|
42 CTestUiAifBlocksTextureChild* self = new( ELeave )CTestUiAifBlocksTextureChild( aManager ); |
|
43 // CleanupStack::PushL( self ); |
|
44 self->ConstructL(); |
|
45 CleanupStack::Pop(); // self; |
|
46 return self; |
|
47 } |
|
48 |
|
49 void CTestUiAifBlocksTextureChild::ConstructL() |
|
50 { |
|
51 CHuiAnimatedTexture::BaseConstructL(); |
|
52 } |
|
53 |
|
54 void CTestUiAifBlocksTextureChild::TextureExtension( const TUid& aExtensionUid, TAny** aExtensionParameters ) |
|
55 { |
|
56 CHuiAnimatedTexture::TextureExtension( aExtensionUid, aExtensionParameters ); |
|
57 } |
|
58 |
|
59 void CTestUiAifBlocksTextureChild::SetSegmentCountL( TInt aCount ) |
|
60 { |
|
61 this->iTexture->SetSegmentCountL( aCount ); |
|
62 } |
|