|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // EComLoadMgrExample2.h |
|
15 // The implementation of a plugin used for load manager validation tests |
|
16 // |
|
17 // |
|
18 |
|
19 #include "EComLoadMgrExample2.h" |
|
20 #include <e32base.h> |
|
21 // __________________________________________________________________________ |
|
22 // Implementation |
|
23 |
|
24 CImplementationLoadMgrExample2* CImplementationLoadMgrExample2::NewL(TAny* aInitParams) |
|
25 { |
|
26 CImplementationLoadMgrExample2* self=new(ELeave) CImplementationLoadMgrExample2(); // calls c'tor |
|
27 CleanupStack::PushL(self); // Make the construction safe by using the cleanup stack |
|
28 self->ConstructL(aInitParams); // Complete the 'construction'. |
|
29 CleanupStack::Pop(self); |
|
30 return self; |
|
31 } |
|
32 |
|
33 CImplementationLoadMgrExample2::~CImplementationLoadMgrExample2() |
|
34 { |
|
35 } |
|
36 |
|
37 CImplementationLoadMgrExample2::CImplementationLoadMgrExample2() |
|
38 { |
|
39 // Deliberately do nothing here : See ConstructL() for initialisation completion. |
|
40 } |
|
41 |
|
42 void CImplementationLoadMgrExample2::ConstructL(TAny*) |
|
43 { |
|
44 } |
|
45 |
|
46 // __________________________________________________________________________ |
|
47 // Exported proxy for instantiation method resolution |
|
48 // Define the interface UIDs |
|
49 const TImplementationProxy ImplementationTable[] = |
|
50 { |
|
51 IMPLEMENTATION_PROXY_ENTRY(0x10282333, CImplementationLoadMgrExample2::NewL) |
|
52 }; |
|
53 |
|
54 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
55 { |
|
56 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
57 return ImplementationTable; |
|
58 } |
|
59 |