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