os/ossrv/lowlevellibsandfws/pluginfw/Framework/T_PlatSecECom/T_PlatSecInterface.inl
First public contribution.
1 // Copyright (c) 2004-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.
18 const TUid KUidPlatSecECom1Impl = {0x102026AA};
19 const TUid KUidPlatSecECom2Impl = {0x102026AC};
20 const TUid KUidPlatSecECom3Impl = {0x102026AE};
21 const TUid KUidPlatSecECom4Impl = {0x102026B1};
23 inline CPlatSecInterface1::CPlatSecInterface1() :
28 inline CPlatSecInterface1::~CPlatSecInterface1()
30 REComSession::DestroyedImplementation(iDtor_ID_Key);
33 inline CPlatSecInterface1* CPlatSecInterface1::NewL()
35 TAny* p = REComSession::CreateImplementationL(KUidPlatSecECom1Impl,
36 _FOFF(CPlatSecInterface1, iDtor_ID_Key));
37 return reinterpret_cast <CPlatSecInterface1*> (p);
42 inline CPlatSecInterface2::CPlatSecInterface2() :
47 inline CPlatSecInterface2::~CPlatSecInterface2()
49 REComSession::DestroyedImplementation(iDtor_ID_Key);
52 inline CPlatSecInterface2* CPlatSecInterface2::NewL()
54 TAny* p = REComSession::CreateImplementationL(KUidPlatSecECom2Impl,
55 _FOFF(CPlatSecInterface2, iDtor_ID_Key));
56 return reinterpret_cast <CPlatSecInterface2*> (p);
62 inline CPlatSecInterface3::CPlatSecInterface3() :
67 inline CPlatSecInterface3::~CPlatSecInterface3()
69 REComSession::DestroyedImplementation(iDtor_ID_Key);
72 inline CPlatSecInterface3* CPlatSecInterface3::NewL()
74 TAny* p = REComSession::CreateImplementationL(KUidPlatSecECom3Impl,
75 _FOFF(CPlatSecInterface3, iDtor_ID_Key));
76 return reinterpret_cast <CPlatSecInterface3*> (p);
80 inline CPlatSecInterface4::CPlatSecInterface4() :
85 inline CPlatSecInterface4::~CPlatSecInterface4()
87 REComSession::DestroyedImplementation(iDtor_ID_Key);
90 inline CPlatSecInterface4* CPlatSecInterface4::NewL()
92 TAny* p = REComSession::CreateImplementationL(KUidPlatSecECom4Impl,
93 _FOFF(CPlatSecInterface4, iDtor_ID_Key));
94 return reinterpret_cast <CPlatSecInterface4*> (p);