epoc32/include/mw/sip_subconparams.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // 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
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    15 // SIP extension parameters inline implementation
    15 // SIP extension parameters inline implementation
    16 // / CSubConSIPInviteParamSet
    16 // / CSubConSIPInviteParamSet
    17 // 
    17 // 
    18 //
    18 //
    19 
    19 
    20 
       
    21 
       
    22 
       
    23 /**
    20 /**
    24  @file
    21  @file
    25  @publishedAll
    22  @publishedAll
       
    23  @released
    26 */
    24 */
    27 
    25 
    28 inline CSubConSIPInviteParamSet* CSubConSIPInviteParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
    26 inline CSubConSIPInviteParamSet* CSubConSIPInviteParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
    29 	{
    27 	{
    30 	CSubConSIPInviteParamSet* obj = NewL();
    28 	CSubConSIPInviteParamSet* obj = NewL();
    32 	aFamily.AddExtensionSetL(*obj, aType);
    30 	aFamily.AddExtensionSetL(*obj, aType);
    33 	CleanupStack::Pop(obj);
    31 	CleanupStack::Pop(obj);
    34 	return obj;
    32 	return obj;
    35 	}
    33 	}
    36 
    34 
       
    35 inline CSubConSIPInviteParamSet* CSubConSIPInviteParamSet::NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType)
       
    36 	{
       
    37 	CSubConSIPInviteParamSet* obj = NewL();
       
    38 	CleanupStack::PushL(obj);
       
    39 	aFamily.AddParameterSetL(obj, aType);
       
    40 	CleanupStack::Pop(obj);
       
    41 	return obj;
       
    42 	}
       
    43 
    37 inline CSubConSIPInviteParamSet* CSubConSIPInviteParamSet::NewL()
    44 inline CSubConSIPInviteParamSet* CSubConSIPInviteParamSet::NewL()
    38 	{
    45 	{
    39 	STypeId typeId(KSubConSIPParametersUid, KSubConSIPInviteParamsType);
    46 	STypeId typeId = STypeId::CreateSTypeId(KSubConSIPParametersUid, KSubConSIPInviteParamsType);
    40 	return static_cast<CSubConSIPInviteParamSet*>(CSubConParameterSet::NewL(typeId));
    47 	return static_cast<CSubConSIPInviteParamSet*>(CSubConParameterSet::NewL(typeId));
    41 	}
    48 	}
    42 
    49 
    43 inline CSubConSIPInviteParamSet::CSubConSIPInviteParamSet()
    50 inline CSubConSIPInviteParamSet::CSubConSIPInviteParamSet()
    44 :CSubConExtensionParameterSet()
    51 :CSubConExtensionParameterSet()
   143 	return obj;
   150 	return obj;
   144 	}
   151 	}
   145 
   152 
   146 inline CSubConSIPSubscribeParamSet* CSubConSIPSubscribeParamSet::NewL()
   153 inline CSubConSIPSubscribeParamSet* CSubConSIPSubscribeParamSet::NewL()
   147 	{
   154 	{
   148 	STypeId typeId(KSubConSIPParametersUid, KSubConSIPSubscribeParamsType);
   155 	STypeId typeId = STypeId::CreateSTypeId(KSubConSIPParametersUid, KSubConSIPSubscribeParamsType);
   149 	return static_cast<CSubConSIPSubscribeParamSet*>(CSubConParameterSet::NewL(typeId));
   156 	return static_cast<CSubConSIPSubscribeParamSet*>(CSubConParameterSet::NewL(typeId));
   150 	}
   157 	}
   151 
   158 
   152 // Constructor
   159 // Constructor
   153 inline CSubConSIPSubscribeParamSet::CSubConSIPSubscribeParamSet()
   160 inline CSubConSIPSubscribeParamSet::CSubConSIPSubscribeParamSet()
   273 	return obj;
   280 	return obj;
   274 	}
   281 	}
   275 
   282 
   276 inline CSubConSIPAuthenticateParamSet* CSubConSIPAuthenticateParamSet::NewL()
   283 inline CSubConSIPAuthenticateParamSet* CSubConSIPAuthenticateParamSet::NewL()
   277 	{
   284 	{
   278 	STypeId typeId(KSubConSIPParametersUid, KSubConSIPAuthenticateParamsType);
   285 	STypeId typeId = STypeId::CreateSTypeId(KSubConSIPParametersUid, KSubConSIPAuthenticateParamsType);
   279 	return static_cast<CSubConSIPAuthenticateParamSet*>(CSubConParameterSet::NewL(typeId));
   286 	return static_cast<CSubConSIPAuthenticateParamSet*>(CSubConParameterSet::NewL(typeId));
   280 	}
   287 	}
   281 
   288 
   282 // Constructor
   289 // Constructor
   283 inline CSubConSIPAuthenticateParamSet::CSubConSIPAuthenticateParamSet()
   290 inline CSubConSIPAuthenticateParamSet::CSubConSIPAuthenticateParamSet()