1.1 --- a/epoc32/include/sip_subconevents.inl Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,91 +0,0 @@
1.4 -// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// 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
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -// SIPSCPR_subconevents.inl
1.18 -// SIP extension events definition
1.19 -//
1.20 -//
1.21 -
1.22 -
1.23 -
1.24 -/**
1.25 - @file
1.26 - @publishedAll
1.27 -*/
1.28 -
1.29 -
1.30 -inline CSubConSIPResponseEvent::CSubConSIPResponseEvent()
1.31 -:iResponse(EInvalidResponse)
1.32 - {
1.33 - }
1.34 -
1.35 -
1.36 -inline void CSubConSIPResponseEvent::SetResponse(TInt aResponse)
1.37 - {
1.38 - iResponse = aResponse;
1.39 - }
1.40 -
1.41 -inline TInt CSubConSIPResponseEvent::GetResponse() const
1.42 - {
1.43 - return iResponse;
1.44 - }
1.45 -
1.46 -inline CSubConSIPResponseEvent* CSubConSIPResponseEvent::NewL()
1.47 - {
1.48 - STypeId typeId(KSubConSIPEventsUid, KSubConSIPResponseEventType);
1.49 - return static_cast<CSubConSIPResponseEvent*>(CSubConNotificationEvent::NewL(typeId));
1.50 - }
1.51 -
1.52 -
1.53 -inline CSubConSIPAuthenticationRequiredEvent* CSubConSIPAuthenticationRequiredEvent::NewL()
1.54 - {
1.55 - STypeId typeId(KSubConSIPEventsUid, KSubConSIPAuthenticationRequiredEventType);
1.56 - return static_cast<CSubConSIPAuthenticationRequiredEvent*>(CSubConNotificationEvent::NewL(typeId));
1.57 - }
1.58 -
1.59 -inline CSubConSIPAuthenticationRequiredEvent::CSubConSIPAuthenticationRequiredEvent()
1.60 - {
1.61 - }
1.62 -
1.63 -inline void CSubConSIPAuthenticationRequiredEvent::SetRealmL(const TPtrC8& aRealm)
1.64 - {
1.65 - iRealm.Close();
1.66 - iRealm.CreateL(aRealm);
1.67 - }
1.68 -
1.69 -inline const TPtrC8& CSubConSIPAuthenticationRequiredEvent::GetRealm() const
1.70 - {
1.71 - return iRealm.LeftTPtr(iRealm.Length());
1.72 - }
1.73 -
1.74 -
1.75 -inline CSubConSIPNotificationEvent::CSubConSIPNotificationEvent()
1.76 - {
1.77 - }
1.78 -
1.79 -inline void CSubConSIPNotificationEvent::SetNotificationL(const TPtrC8 & aNotification)
1.80 - {
1.81 - iNotification.Close();
1.82 - iNotification.CreateL(aNotification);
1.83 - }
1.84 -
1.85 -inline const TPtrC8& CSubConSIPNotificationEvent::GetNotification() const
1.86 - {
1.87 - return iNotification.LeftTPtr(iNotification.Length());
1.88 - }
1.89 -
1.90 -inline CSubConSIPNotificationEvent* CSubConSIPNotificationEvent::NewL()
1.91 - {
1.92 - STypeId typeId(KSubConSIPEventsUid, KSubConSIPNotificationEventType);
1.93 - return static_cast<CSubConSIPNotificationEvent*>(CSubConNotificationEvent::NewL(typeId));
1.94 - }