sl@0: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #include sl@0: sl@0: const TUid KUidPlatSecECom1Impl = {0x102026AA}; sl@0: const TUid KUidPlatSecECom2Impl = {0x102026AC}; sl@0: const TUid KUidPlatSecECom3Impl = {0x102026AE}; sl@0: const TUid KUidPlatSecECom4Impl = {0x102026B1}; sl@0: sl@0: inline CPlatSecInterface1::CPlatSecInterface1() : sl@0: CBase() sl@0: { sl@0: } sl@0: sl@0: inline CPlatSecInterface1::~CPlatSecInterface1() sl@0: { sl@0: REComSession::DestroyedImplementation(iDtor_ID_Key); sl@0: } sl@0: sl@0: inline CPlatSecInterface1* CPlatSecInterface1::NewL() sl@0: { sl@0: TAny* p = REComSession::CreateImplementationL(KUidPlatSecECom1Impl, sl@0: _FOFF(CPlatSecInterface1, iDtor_ID_Key)); sl@0: return reinterpret_cast (p); sl@0: } sl@0: sl@0: // sl@0: sl@0: inline CPlatSecInterface2::CPlatSecInterface2() : sl@0: CBase() sl@0: { sl@0: } sl@0: sl@0: inline CPlatSecInterface2::~CPlatSecInterface2() sl@0: { sl@0: REComSession::DestroyedImplementation(iDtor_ID_Key); sl@0: } sl@0: sl@0: inline CPlatSecInterface2* CPlatSecInterface2::NewL() sl@0: { sl@0: TAny* p = REComSession::CreateImplementationL(KUidPlatSecECom2Impl, sl@0: _FOFF(CPlatSecInterface2, iDtor_ID_Key)); sl@0: return reinterpret_cast (p); sl@0: } sl@0: sl@0: sl@0: // sl@0: sl@0: inline CPlatSecInterface3::CPlatSecInterface3() : sl@0: CBase() sl@0: { sl@0: } sl@0: sl@0: inline CPlatSecInterface3::~CPlatSecInterface3() sl@0: { sl@0: REComSession::DestroyedImplementation(iDtor_ID_Key); sl@0: } sl@0: sl@0: inline CPlatSecInterface3* CPlatSecInterface3::NewL() sl@0: { sl@0: TAny* p = REComSession::CreateImplementationL(KUidPlatSecECom3Impl, sl@0: _FOFF(CPlatSecInterface3, iDtor_ID_Key)); sl@0: return reinterpret_cast (p); sl@0: } sl@0: // sl@0: sl@0: inline CPlatSecInterface4::CPlatSecInterface4() : sl@0: CBase() sl@0: { sl@0: } sl@0: sl@0: inline CPlatSecInterface4::~CPlatSecInterface4() sl@0: { sl@0: REComSession::DestroyedImplementation(iDtor_ID_Key); sl@0: } sl@0: sl@0: inline CPlatSecInterface4* CPlatSecInterface4::NewL() sl@0: { sl@0: TAny* p = REComSession::CreateImplementationL(KUidPlatSecECom4Impl, sl@0: _FOFF(CPlatSecInterface4, iDtor_ID_Key)); sl@0: return reinterpret_cast (p); sl@0: }