equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: |
|
15 * Implementation for extension dll loader. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "CxSPLoader.h" |
|
22 #include "MxSPFactory.h" |
|
23 #include "CxSPFactory.h" |
|
24 |
|
25 |
|
26 // ================= MEMBER FUNCTIONS ======================= |
|
27 |
|
28 inline CxSPLoader::CxSPLoader() |
|
29 { |
|
30 } |
|
31 |
|
32 CxSPLoader* CxSPLoader::NewL( TUid aUid ) |
|
33 { |
|
34 CxSPLoader* self = new (ELeave) CxSPLoader(); |
|
35 CleanupStack::PushL(self); |
|
36 self->LoadExtensionDllL(aUid); |
|
37 CleanupStack::Pop(self); |
|
38 return self; |
|
39 } |
|
40 |
|
41 CxSPLoader::~CxSPLoader() |
|
42 { |
|
43 delete iFactory; |
|
44 } |
|
45 |
|
46 MxSPFactory* CxSPLoader::ExtensionFactory() const |
|
47 { |
|
48 return iFactory; |
|
49 } |
|
50 |
|
51 void CxSPLoader::LoadExtensionDllL( TUid aUid ) |
|
52 { |
|
53 iFactory = CxSPFactory::NewL( aUid ); |
|
54 } |
|
55 |
|
56 // End of File |