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.h
15 // SIP extension events definition
27 #ifndef SIPSCPR_SUBCONEVENTS_H
28 #define SIPSCPR_SUBCONEVENTS_H
31 #include <comms-infras/metabuffer.h>
33 /** The numeric value of ECOM plugin identifier for this SubConnection SIP event parameter.See the assisting *.rss file. */
34 const TInt KSubConSIPEventsUid = 0x10274CAE;
36 /** The numeric value of Response event type identifier for SIP extension parameter set */
37 const TInt KSubConSIPResponseEventType = 1;
39 /** The numeric value of AuthenticationRequired event type identifier for SIP extension parameter set */
40 const TInt KSubConSIPAuthenticationRequiredEventType = 2;
42 /** The numeric value of Notification event type identifier for SIP extension parameter set */
43 const TInt KSubConSIPNotificationEventType = 3;
46 class CSubConSIPResponseEvent : public CSubConNotificationEvent
47 /** CSubConSIPResponseEvent is used to get and set the response elements of the most recent response
50 @released since v9.2 */
54 Identifies the predefined type of Response .
56 enum PredefinedResponses
58 /** The numeric value of Invalid Response */
62 inline static CSubConSIPResponseEvent* NewL();
64 inline CSubConSIPResponseEvent();
66 virtual ~CSubConSIPResponseEvent();
67 /** Sets Response Code of the SIP Response. **/
68 inline void SetResponse(TInt aResponse);
69 /** Gets Response Code of the SIP Response. **/
70 inline TInt GetResponse() const;
73 /** The Response Code of the SIP reasponse. */
79 class CSubConSIPAuthenticationRequiredEvent : public CSubConNotificationEvent
80 /** CSubConSIPAuthenticationRequiredEvent is used when SIP authentication is required
83 @released since v9.2 */
87 inline static CSubConSIPAuthenticationRequiredEvent* NewL();
89 inline CSubConSIPAuthenticationRequiredEvent();
91 virtual ~CSubConSIPAuthenticationRequiredEvent();
92 /** Sets Realm field of the SIP header. **/
93 inline void SetRealmL(const TPtrC8& aRealm);
94 /** Gets Realm field of the SIP header. **/
95 inline const TPtrC8& GetRealm() const;
98 /** The Realm entry of Authenticate field in a SIP header. */
104 class CSubConSIPNotificationEvent : public CSubConNotificationEvent
105 /** CSubConSIPNotificationEvent is used for receiving SIP event notifications
108 @released since v9.2 */
111 inline static CSubConSIPNotificationEvent* NewL();
113 inline CSubConSIPNotificationEvent();
115 virtual ~CSubConSIPNotificationEvent();
116 /** Sets Notification for an event. **/
117 inline void SetNotificationL(const TPtrC8 & aNotification);
118 /** Gets Notification for an event. **/
119 inline const TPtrC8& GetNotification() const;
122 /** The Notification entry. */
128 class CSIPSubConnExtensionEventsFactory : public CBase
129 /** Factory used to create instances of the SIP SubConnection Extension Events
136 static CSubConNotificationEvent* NewL(TAny* aConstructionParameters);
139 #include <sip_subconevents.inl>
141 #endif // SIPSCPR_SUBCONEVENTS_H