2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Name : sipprofileagent.inl
16 * Part of : sip profile agent
24 const TUid KSIPProfileAgentInterfaceUid = {0x101F4136};
27 // ============================ MEMBER FUNCTIONS ===============================
31 inline CSIPProfileAgent::~CSIPProfileAgent()
33 REComSession::DestroyedImplementation(iDtor_ID_Key);
36 // -----------------------------------------------------------------------------
37 // CSIPProfileAgent::CSIPProfileAgent
38 // C++ default constructor can NOT contain any code, that
40 // -----------------------------------------------------------------------------
42 inline CSIPProfileAgent::CSIPProfileAgent()
46 // -----------------------------------------------------------------------------
47 // CSIPProfileAgent::NewL
48 // Two-phased constructor.
49 // -----------------------------------------------------------------------------
51 inline CSIPProfileAgent* CSIPProfileAgent::NewL(
52 const TDesC8& aProfileType,
53 TSIPProfileAgentInitParams& aSIPProfileAgentInitParams)
56 TEComResolverParams resolverParams;
57 resolverParams.SetDataType(aProfileType);
58 return reinterpret_cast<CSIPProfileAgent*>(
59 REComSession::CreateImplementationL(
60 KSIPProfileAgentInterfaceUid,
61 _FOFF(CSIPProfileAgent,iDtor_ID_Key),
62 &aSIPProfileAgentInitParams,
66 // -----------------------------------------------------------------------------
67 // CSIPProfileAgent::ListAllImplementationsL
68 // lists all interface implementations
69 // (other items were commented in a header).
70 // -----------------------------------------------------------------------------
73 inline void CSIPProfileAgent::ListAllImplementationsL(
74 RImplInfoPtrArray& aImplInfoArray)
76 REComSession::ListImplementationsL(
77 KSIPProfileAgentInterfaceUid,