equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2008 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: A toolkit class for creating RL effect queues from AnimationLibrary |
|
15 * animations. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef AKNSALCONVERSIONUTIL_H |
|
21 #define AKNSALCONVERSIONUTIL_H |
|
22 |
|
23 // FORWARD DECLARATIONS |
|
24 class TTime; |
|
25 class CAknsAnimationItemData; |
|
26 class CAknsEffectQueueItemData; |
|
27 |
|
28 /** |
|
29 * A toolkit class for creating RL effect queues from AnimationLibrary |
|
30 * animations. |
|
31 * |
|
32 * @since 3.0 |
|
33 */ |
|
34 NONSHARABLE_CLASS( AknsAlConversionUtil ) |
|
35 { |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Creates a standard effect queue (RenderLibrary). Animation defined by |
|
40 * the animation item is driven to position defined by the time stamp. |
|
41 * After that a matching effect queue is created. The resulting effect |
|
42 * queue is basically a snapshot of the animation at the time defined by |
|
43 * the time stamp. |
|
44 * |
|
45 * @return The created effect queue, ownership is transferred to the |
|
46 * caller. |
|
47 */ |
|
48 static CAknsEffectQueueItemData* AnimationToEffectQueueL( |
|
49 const CAknsAnimationItemData& aAnim, |
|
50 const TTime& aTimeStamp ); |
|
51 }; |
|
52 |
|
53 #endif // AKNSALCONVERSIONUTIL_H |
|
54 |
|
55 // End of File |