1 // Copyright (c) 1997-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 #ifndef __FEPPLUGIN_INL__
17 #define __FEPPLUGIN_INL__
19 #include <ecom/ecom.h>
22 Factory function to create and return a FEP plug-in with the specified UID.
24 @return A FEP plug-in object instance corresponding to the UID provided
25 @param aFepUid The UID of the FEP plug-in implementation to be loaded
27 inline CCoeFepPlugIn* CCoeFepPlugIn::NewL(TUid aFepUid)
29 TAny* any = REComSession::CreateImplementationL(aFepUid, _FOFF(CCoeFepPlugIn, iDtorTag));
30 CCoeFepPlugIn* feppi = reinterpret_cast<CCoeFepPlugIn*>(any);
35 Destructor that destroys the FEP plug-in.
37 inline CCoeFepPlugIn::~CCoeFepPlugIn()
39 REComSession::DestroyedImplementation(iDtorTag);
43 #endif // __FEPPLUGIN_INL__