|
1 // Copyright (c) 2004-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 // |
|
15 |
|
16 #include "../T_PlatSecECom/T_PlatSecInterface.h" |
|
17 #include <ecom/implementationproxy.h> |
|
18 |
|
19 /** |
|
20 CPlatSecInterface2 interface implementation. |
|
21 @internalComponent |
|
22 */ |
|
23 class CPlatSecImpl4 : public CPlatSecInterface4 |
|
24 { |
|
25 public: |
|
26 static CPlatSecImpl4* NewL(); |
|
27 virtual ~CPlatSecImpl4(); |
|
28 virtual TUid ImplId(); |
|
29 |
|
30 private: |
|
31 CPlatSecImpl4(); |
|
32 }; |
|
33 |
|
34 CPlatSecImpl4* CPlatSecImpl4::NewL() |
|
35 { |
|
36 CPlatSecImpl4* self= new (ELeave) CPlatSecImpl4; |
|
37 return self; |
|
38 } |
|
39 |
|
40 CPlatSecImpl4::~CPlatSecImpl4() |
|
41 { |
|
42 } |
|
43 |
|
44 CPlatSecImpl4::CPlatSecImpl4() : |
|
45 CPlatSecInterface4() |
|
46 { |
|
47 } |
|
48 |
|
49 |
|
50 TUid CPlatSecImpl4::ImplId() |
|
51 { |
|
52 return KUidPlatSecECom4Impl; |
|
53 } |
|
54 |
|
55 const TImplementationProxy ImplementationTable[] = |
|
56 { |
|
57 //KUidPlatSecECom4Impl.iUid = 0x102026B1 |
|
58 IMPLEMENTATION_PROXY_ENTRY(0x102026B1, CPlatSecImpl4::NewL) |
|
59 }; |
|
60 |
|
61 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
62 { |
|
63 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
64 return ImplementationTable; |
|
65 } |
|
66 |