equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Avkon Anim Dll Factory |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // AKNANIMDLL.CPP |
|
20 // |
|
21 // Copyright (c) 1997-2000 Symbian Ltd. All rights reserved. |
|
22 // |
|
23 |
|
24 #include "AknAnimDll.h" |
|
25 #include "aknanimdllstd.h" |
|
26 #include "AknAnimKeySound.h" |
|
27 |
|
28 // CAknAnimDll |
|
29 |
|
30 //---------------------------------------------------------------------------- |
|
31 // CAknAnimDll::CreateInstanceL |
|
32 //---------------------------------------------------------------------------- |
|
33 // |
|
34 CAnim* CAknAnimDll::CreateInstanceL( TInt aType ) |
|
35 { |
|
36 switch ( aType ) |
|
37 { |
|
38 case EAnimKeySound: |
|
39 return new ( ELeave ) CAknAnimKeySound(); |
|
40 |
|
41 default: |
|
42 return NULL; |
|
43 } |
|
44 } |
|
45 |
|
46 //---------------------------------------------------------------------------- |
|
47 // CreateCAnimDllL |
|
48 //---------------------------------------------------------------------------- |
|
49 // |
|
50 EXPORT_C CAnimDll* CreateCAnimDllL() |
|
51 { |
|
52 return new ( ELeave ) CAknAnimDll(); |
|
53 } |
|
54 |
|
55 // End of File |