|
1 /* |
|
2 * Copyright (c) 2004 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: Implementation of the CaUiEngine factory interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "CaUiEngFactImpl.h" |
|
22 #include "CaUiEngine.h" |
|
23 |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // CCaUiEngFactImpl::CCaUiEngApiLD |
|
30 // |
|
31 // |
|
32 // ----------------------------------------------------------------------------- |
|
33 // |
|
34 CCaUiEngApi* CCaUiEngFactImpl::CCaUiEngApiLD() |
|
35 { |
|
36 CleanupStack::PushL( this ); |
|
37 |
|
38 CCaUiEngine* caUiEng = CCaUiEngine::NewL(); |
|
39 CleanupStack::PopAndDestroy( this ); |
|
40 return caUiEng; |
|
41 } |
|
42 |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // CCaUiEngFactImpl::~CCaUiEngFactImpl |
|
46 // |
|
47 // Destructor. |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 CCaUiEngFactImpl::~CCaUiEngFactImpl() |
|
51 { |
|
52 } |
|
53 |
|
54 |
|
55 |
|
56 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // CreateCaUiEngFactoryL |
|
60 // |
|
61 // Creates CallUIEngineFactory. This is only exported function. |
|
62 // Returns: CCaUiEngFactory*: CallUIEngine Factory instance. |
|
63 // ----------------------------------------------------------------------------- |
|
64 // |
|
65 EXPORT_C CCaUiEngFactory* CreateCaUiEngFactoryL() |
|
66 { |
|
67 return new ( ELeave ) CCaUiEngFactImpl; |
|
68 } |
|
69 |
|
70 |
|
71 // End of File |