epoc32/include/mw/sip_subconevents.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:
    14 // SIPSCPR_subconevents.inl
    14 // SIPSCPR_subconevents.inl
    15 // SIP extension events definition
    15 // SIP extension events definition
    16 // 
    16 // 
    17 //
    17 //
    18 
    18 
    19 
       
    20 
       
    21 /**
    19 /**
    22  @file
    20  @file
    23  @publishedAll
    21  @publishedAll
       
    22  @released
    24 */
    23 */
    25 
    24 
    26 
    25 
    27 inline CSubConSIPResponseEvent::CSubConSIPResponseEvent()
    26 inline CSubConSIPResponseEvent::CSubConSIPResponseEvent()
    28 :iResponse(EInvalidResponse)
    27 :iResponse(EInvalidResponse)
    40     return iResponse;
    39     return iResponse;
    41     }
    40     }
    42 	
    41 	
    43 inline CSubConSIPResponseEvent* CSubConSIPResponseEvent::NewL()
    42 inline CSubConSIPResponseEvent* CSubConSIPResponseEvent::NewL()
    44 	{
    43 	{
    45 	STypeId typeId(KSubConSIPEventsUid, KSubConSIPResponseEventType);
    44 	STypeId typeId = STypeId::CreateSTypeId(KSubConSIPEventsUid, KSubConSIPResponseEventType);
    46 	return static_cast<CSubConSIPResponseEvent*>(CSubConNotificationEvent::NewL(typeId));
    45 	return static_cast<CSubConSIPResponseEvent*>(CSubConNotificationEvent::NewL(typeId));
    47 	}
    46 	}
    48 
    47 
    49         
    48         
    50 inline CSubConSIPAuthenticationRequiredEvent* CSubConSIPAuthenticationRequiredEvent::NewL()
    49 inline CSubConSIPAuthenticationRequiredEvent* CSubConSIPAuthenticationRequiredEvent::NewL()
    51 	{
    50 	{
    52 	STypeId typeId(KSubConSIPEventsUid, KSubConSIPAuthenticationRequiredEventType);
    51 	STypeId typeId = STypeId::CreateSTypeId(KSubConSIPEventsUid, KSubConSIPAuthenticationRequiredEventType);
    53 	return static_cast<CSubConSIPAuthenticationRequiredEvent*>(CSubConNotificationEvent::NewL(typeId));
    52 	return static_cast<CSubConSIPAuthenticationRequiredEvent*>(CSubConNotificationEvent::NewL(typeId));
    54 	}
    53 	}
    55 
    54 
    56 inline CSubConSIPAuthenticationRequiredEvent::CSubConSIPAuthenticationRequiredEvent()
    55 inline CSubConSIPAuthenticationRequiredEvent::CSubConSIPAuthenticationRequiredEvent()
    57     {
    56     {
    84     return iNotification.LeftTPtr(iNotification.Length());
    83     return iNotification.LeftTPtr(iNotification.Length());
    85     }
    84     }
    86 	
    85 	
    87 inline CSubConSIPNotificationEvent* CSubConSIPNotificationEvent::NewL()
    86 inline CSubConSIPNotificationEvent* CSubConSIPNotificationEvent::NewL()
    88 	{
    87 	{
    89 	STypeId typeId(KSubConSIPEventsUid, KSubConSIPNotificationEventType);
    88 	STypeId typeId = STypeId::CreateSTypeId(KSubConSIPEventsUid, KSubConSIPNotificationEventType);
    90 	return static_cast<CSubConSIPNotificationEvent*>(CSubConNotificationEvent::NewL(typeId));
    89 	return static_cast<CSubConSIPNotificationEvent*>(CSubConNotificationEvent::NewL(typeId));
    91 	}
    90 	}
       
    91