First public contribution.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #include <ecam/ecamplugin.h>
17 #include <ecam/ecaminfoplugin.h>
19 #include <ecom/ecom.h>
20 #include <ecamuids.hrh>
22 #include <mm/mmpluginutils.h>
28 CCameraInfoPlugin* CCameraInfoPlugin::NewL()
30 TUid interfaceUid = {KUidOnboardCameraInfoPlugin};
31 CCameraInfoPlugin* self =
32 static_cast<CCameraInfoPlugin*>
33 (MmPluginUtils::CreateImplementationL(interfaceUid, _FOFF(CCameraInfoPlugin,iDestructorKey), KECamPluginMatchString, KRomOnlyResolverUid));
38 EXPORT_C CCameraInfoPlugin::~CCameraInfoPlugin()
40 REComSession::DestroyedImplementation(iDestructorKey);
43 EXPORT_C CCameraInfoPlugin::CCameraInfoPlugin()