Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #include <logcntmodel.h>
18 /** Signals the destruction of the plug-in to ECom.
20 EXPORT_C CLogCntModel::~CLogCntModel()
22 REComSession::DestroyedImplementation(iDtor_ID_Key);
25 /** Attempts to load a plugin implementation of the contacts matching functionality.
27 @return A pointer to the implementation
29 @leave KErrNotFound No implementation was found.
30 @capability ProtServ WriteDeviceData ReadDeviceData ReadUserData WriteUserData
32 EXPORT_C CLogCntModel* CLogCntModel::NewL()
34 // Use default resolver parameters.
35 const TEComResolverParams noResolverParams;
36 TAny* ptr = REComSession::CreateImplementationL(KUidEComLogCntInterface,
37 _FOFF(CLogCntModel,iDtor_ID_Key),
39 return reinterpret_cast<CLogCntModel*>(ptr);