1 // Copyright (c) 2001-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.
17 @file CSecurityPolicy.inl
18 @warning : This file contains Rose Model ID comments - please do not delete
21 #ifndef __CSECURITYPOLICY_INL__
22 #define __CSECURITYPOLICY_INL__
25 inline CSecurityPolicy* CSecurityPolicy::NewL(RStringPool aStringPool)
27 _LIT8(KDataTypeName, "security-policy");
29 // CSecurityPolicy ECOM Interface UID = 101F4485
30 const TUid KUidSecPolInterface = {0x101F4485};
32 // Set up the parameters which allow ECOM's resolver to pick the right implementation
33 TEComResolverParams resParams;
34 resParams.SetDataType(KDataTypeName());
36 // Get the instantiation. Allow ECOM to use the default resolver. Pass in the init params.
37 TAny* ptr = REComSession::CreateImplementationL(KUidSecPolInterface,
38 _FOFF(CSecurityPolicy, iDtor_ID_Key),
42 return REINTERPRET_CAST(CSecurityPolicy*, ptr);
45 inline CSecurityPolicy::~CSecurityPolicy()
47 REComSession::DestroyedImplementation(iDtor_ID_Key);
50 inline CSecurityPolicy::CSecurityPolicy(RStringPool aStrPool)
57 inline void CSecurityPolicy::Reserved1()
59 inline void CSecurityPolicy::Reserved2()
63 #endif // __CSECURITYPOLICY_INL__