equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-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 <ecam/ecamplugin.h> |
|
17 #include <ecam/ecaminfoplugin.h> |
|
18 |
|
19 #include <ecom/ecom.h> |
|
20 #include <ecamuids.hrh> |
|
21 |
|
22 #include <mm/mmpluginutils.h> |
|
23 |
|
24 // |
|
25 // CCameraInfo |
|
26 // |
|
27 |
|
28 CCameraInfoPlugin* CCameraInfoPlugin::NewL() |
|
29 { |
|
30 TUid interfaceUid = {KUidOnboardCameraInfoPlugin}; |
|
31 CCameraInfoPlugin* self = |
|
32 static_cast<CCameraInfoPlugin*> |
|
33 (MmPluginUtils::CreateImplementationL(interfaceUid, _FOFF(CCameraInfoPlugin,iDestructorKey), KECamPluginMatchString, KRomOnlyResolverUid)); |
|
34 return self; |
|
35 |
|
36 } |
|
37 |
|
38 EXPORT_C CCameraInfoPlugin::~CCameraInfoPlugin() |
|
39 { |
|
40 REComSession::DestroyedImplementation(iDestructorKey); |
|
41 } |
|
42 |
|
43 EXPORT_C CCameraInfoPlugin::CCameraInfoPlugin() |
|
44 { |
|
45 } |