|
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 "BitmapTransformsPlugin.h" |
|
17 #include <bitmtrans/bitmtransuids.hrh> |
|
18 |
|
19 #include <ecom/implementationproxy.h> |
|
20 |
|
21 // __________________________________________________________________________ |
|
22 // Exported proxy for instantiation method resolution |
|
23 // Define the interface UIDs |
|
24 const TImplementationProxy ImplementationTable[] = |
|
25 { |
|
26 IMPLEMENTATION_PROXY_ENTRY(KUidBitmapScalerRefPlugin, CBitmapScalerPlugin::NewL), |
|
27 IMPLEMENTATION_PROXY_ENTRY(KUidBitmapRotateRefPlugin, CBitmapRotatorPlugin::NewL) |
|
28 }; |
|
29 |
|
30 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
31 { |
|
32 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
33 |
|
34 return ImplementationTable; |
|
35 } |
|
36 |
|
37 |
|
38 /** |
|
39 @internalComponent |
|
40 |
|
41 Internal string constant that is passed through user panics |
|
42 and identifies the DLL |
|
43 */ |
|
44 _LIT(KIclPanicCategory, "BitmapTransformsRefDll"); |
|
45 |
|
46 /** |
|
47 @internalComponent |
|
48 |
|
49 This function raises a panic |
|
50 |
|
51 */ |
|
52 GLDEF_C void Panic(TInt aError) |
|
53 { |
|
54 User::Panic(KIclPanicCategory, aError); |
|
55 } |