Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 2005-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // SIPSCPR_subconevents.inl
15 // SIP extension events definition
27 inline CSubConSIPResponseEvent::CSubConSIPResponseEvent()
28 :iResponse(EInvalidResponse)
33 inline void CSubConSIPResponseEvent::SetResponse(TInt aResponse)
35 iResponse = aResponse;
38 inline TInt CSubConSIPResponseEvent::GetResponse() const
43 inline CSubConSIPResponseEvent* CSubConSIPResponseEvent::NewL()
45 STypeId typeId(KSubConSIPEventsUid, KSubConSIPResponseEventType);
46 return static_cast<CSubConSIPResponseEvent*>(CSubConNotificationEvent::NewL(typeId));
50 inline CSubConSIPAuthenticationRequiredEvent* CSubConSIPAuthenticationRequiredEvent::NewL()
52 STypeId typeId(KSubConSIPEventsUid, KSubConSIPAuthenticationRequiredEventType);
53 return static_cast<CSubConSIPAuthenticationRequiredEvent*>(CSubConNotificationEvent::NewL(typeId));
56 inline CSubConSIPAuthenticationRequiredEvent::CSubConSIPAuthenticationRequiredEvent()
60 inline void CSubConSIPAuthenticationRequiredEvent::SetRealmL(const TPtrC8& aRealm)
63 iRealm.CreateL(aRealm);
66 inline const TPtrC8& CSubConSIPAuthenticationRequiredEvent::GetRealm() const
68 return iRealm.LeftTPtr(iRealm.Length());
72 inline CSubConSIPNotificationEvent::CSubConSIPNotificationEvent()
76 inline void CSubConSIPNotificationEvent::SetNotificationL(const TPtrC8 & aNotification)
78 iNotification.Close();
79 iNotification.CreateL(aNotification);
82 inline const TPtrC8& CSubConSIPNotificationEvent::GetNotification() const
84 return iNotification.LeftTPtr(iNotification.Length());
87 inline CSubConSIPNotificationEvent* CSubConSIPNotificationEvent::NewL()
89 STypeId typeId(KSubConSIPEventsUid, KSubConSIPNotificationEventType);
90 return static_cast<CSubConSIPNotificationEvent*>(CSubConNotificationEvent::NewL(typeId));