|
1 // Copyright (c) 2004-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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Name : sipsigcompnotintegrated.cpp |
|
15 // Part of : ConnectionMgr |
|
16 // Version : SIP/4.0 |
|
17 // |
|
18 |
|
19 |
|
20 |
|
21 #include "sipsigcompnotintegrated.h" |
|
22 #include "sipmessage.h" |
|
23 #include "sipresponse.h" |
|
24 #include "siprequest.h" |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // CSigCompNotIntegrated::NewL |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 CSigCompNotIntegrated* CSigCompNotIntegrated::NewL() |
|
31 { |
|
32 CSigCompNotIntegrated* self = NewLC(); |
|
33 CleanupStack::Pop(); |
|
34 return self; |
|
35 } |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // CSigCompNotIntegrated::NewLC |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 CSigCompNotIntegrated* CSigCompNotIntegrated::NewLC() |
|
42 { |
|
43 CSigCompNotIntegrated* self = new (ELeave) CSigCompNotIntegrated(); |
|
44 CleanupStack::PushL(self); |
|
45 return self; |
|
46 } |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // CSigCompNotIntegrated::IsSupported |
|
50 // ----------------------------------------------------------------------------- |
|
51 // |
|
52 TBool CSigCompNotIntegrated::IsSupported () const |
|
53 { |
|
54 return EFalse; |
|
55 } |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // CSigCompNotIntegrated::CreateCompartmentL |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 TUint32 CSigCompNotIntegrated::CreateCompartmentL (TUint32 /*aIapId*/) |
|
62 { |
|
63 User::Leave(KErrNotSupported); |
|
64 return 0; |
|
65 } |
|
66 |
|
67 // ----------------------------------------------------------------------------- |
|
68 // CSigCompNotIntegrated::RemoveCompartment |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 void CSigCompNotIntegrated::RemoveCompartment (TUint32 /*aCompartmentId*/) |
|
72 { |
|
73 } |
|
74 |
|
75 // ----------------------------------------------------------------------------- |
|
76 // CSigCompNotIntegrated::EncodeL |
|
77 // ----------------------------------------------------------------------------- |
|
78 // |
|
79 CBufBase* CSigCompNotIntegrated::EncodeL ( |
|
80 const TSIPTransportParams& /*aTransportParams*/, |
|
81 CSIPRequest& /*aRequest*/, |
|
82 const TInetAddr& /*aAddress*/, |
|
83 TBool /*aStreambasedProtocol*/, |
|
84 TBool& /*aCompressed*/) |
|
85 { |
|
86 User::Leave(KErrNotSupported); |
|
87 return 0; |
|
88 } |
|
89 |
|
90 // ----------------------------------------------------------------------------- |
|
91 // CSigCompNotIntegrated::EncodeL |
|
92 // ----------------------------------------------------------------------------- |
|
93 // |
|
94 CBufBase* CSigCompNotIntegrated::EncodeL ( |
|
95 const TSIPTransportParams& /*aTransportParams*/, |
|
96 CSIPResponse& /*aResponse*/, |
|
97 const TInetAddr& /*aAddress*/, |
|
98 TBool /*aStreambasedProtocol*/, |
|
99 TBool& /*aCompressed*/) |
|
100 { |
|
101 User::Leave(KErrNotSupported); |
|
102 return 0; |
|
103 } |
|
104 |
|
105 // ----------------------------------------------------------------------------- |
|
106 // CSigCompNotIntegrated::IsCompleteSigCompMessageL |
|
107 // ----------------------------------------------------------------------------- |
|
108 // |
|
109 TBool CSigCompNotIntegrated::IsCompleteSigCompMessageL ( |
|
110 const TDesC8& /*aMessage*/) const |
|
111 { |
|
112 User::Leave(KErrNotSupported); |
|
113 return EFalse; |
|
114 } |
|
115 |
|
116 // ----------------------------------------------------------------------------- |
|
117 // CSigCompNotIntegrated::IsSigCompMsg |
|
118 // ----------------------------------------------------------------------------- |
|
119 // |
|
120 TBool CSigCompNotIntegrated::IsSigCompMsg (const TDesC8& /*aMessage*/) const |
|
121 { |
|
122 return EFalse; |
|
123 } |
|
124 |
|
125 // ----------------------------------------------------------------------------- |
|
126 // CSigCompNotIntegrated::DecompressL |
|
127 // ----------------------------------------------------------------------------- |
|
128 // |
|
129 CBufBase* CSigCompNotIntegrated::DecompressL (const TDesC8& /*aMessage*/, |
|
130 TUint& /*aBytesConsumed*/, |
|
131 TBool /*aIsStreamBased*/) |
|
132 { |
|
133 User::Leave(KErrNotSupported); |
|
134 return (CBufBase*)0; |
|
135 } |
|
136 |
|
137 // ----------------------------------------------------------------------------- |
|
138 // CSigCompNotIntegrated::CompartmentCount |
|
139 // ----------------------------------------------------------------------------- |
|
140 // |
|
141 TInt CSigCompNotIntegrated::CompartmentCount () |
|
142 { |
|
143 return 0; |
|
144 } |
|
145 |
|
146 // ----------------------------------------------------------------------------- |
|
147 // CSigCompNotIntegrated::AllowL |
|
148 // ----------------------------------------------------------------------------- |
|
149 // |
|
150 void CSigCompNotIntegrated::AllowL( |
|
151 const TInetAddr& /*aAddr*/, |
|
152 TUint32 /*aIapId*/) |
|
153 { |
|
154 User::Leave(KErrNotSupported); |
|
155 } |
|
156 |
|
157 // ----------------------------------------------------------------------------- |
|
158 // CSigCompNotIntegrated::Deny |
|
159 // ----------------------------------------------------------------------------- |
|
160 // |
|
161 void CSigCompNotIntegrated::Deny() |
|
162 { |
|
163 } |
|
164 |
|
165 // ----------------------------------------------------------------------------- |
|
166 // CSigCompNotIntegrated::SendFailedL |
|
167 // ----------------------------------------------------------------------------- |
|
168 // |
|
169 void CSigCompNotIntegrated::SendFailedL (TUint32 /*aCompartmentId*/) |
|
170 { |
|
171 } |