2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Inline methods for ECom plug-in use.
20 // ----------------------------------------------------------------------------
22 // ----------------------------------------------------------------------------
25 // ----------------------------------------------------------------------------
26 // MNcnNotification::~MNcnNotification
29 // ----------------------------------------------------------------------------
31 inline MNcnNotification::~MNcnNotification()
33 REComSession::DestroyedImplementation( iDtor_ID_Key );
36 // ----------------------------------------------------------------------------
37 // MNcnNotification::CreateMNcnNotificationL
39 // ECom factory method.
40 // ----------------------------------------------------------------------------
42 inline MNcnNotification* MNcnNotification::CreateMNcnNotificationL()
44 TInt32 keyOffset = _FOFF( MNcnNotification,
46 _LIT8(KDefaultImplementation,"NcnNotification");
47 TEComResolverParams resolverParams;
48 resolverParams.SetDataType( KDefaultImplementation() );
49 resolverParams.SetWildcardMatch (ETrue);
51 REComSession::CreateImplementationL( KNcnNotificationInterfaceUid,
54 return reinterpret_cast<MNcnNotification*> ( obj );