15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "CPhSrvUssdSendHandler.h" |
20 #include "CPhSrvUssdSendHandler.h" |
21 #include "MPhSrvUssdNetworkObserver.h" |
21 #include "MPhSrvUssdNetworkObserver.h" |
22 #include "MPhSrvPhoneInterface.h" |
22 #include "MPhSrvPhoneInterface.h" |
23 #include "CPhSrvUssdSessionCancelWaiter.h" |
23 #include "CPhSrvUssdSessionCancelWaiter.h" |
24 #include "PhSrvDebugInfo.h" //debug prints |
24 #include "PhSrvDebugInfo.h" //debug prints |
25 |
25 |
26 #include <gsmuelem.h> |
26 #include <gsmuelem.h> |
27 #include <f32file.h> |
27 #include <f32file.h> |
28 #include <rmmcustomapi.h> |
28 #include <rmmcustomapi.h> |
29 |
29 |
186 // |
186 // |
187 // Terminates Ussd session. |
187 // Terminates Ussd session. |
188 // ----------------------------------------------------------------------------- |
188 // ----------------------------------------------------------------------------- |
189 // |
189 // |
190 void CPhSrvUssdSendHandler::SendReleaseSession() |
190 void CPhSrvUssdSendHandler::SendReleaseSession() |
191 { |
191 { |
192 _DPRINT( 4, "PhSrv.Sendhandler.SendReleaseSession.Start" ); // debug print |
192 _DPRINT( 4, "PhSrv.Sendhandler.SendReleaseSession.Start" ); // debug print |
193 if ( !iSessionCancelWaiter->IsActive() ) |
193 if ( !iSessionCancelWaiter->IsActive() ) |
194 { |
194 { |
195 _DPRINT( 4, "PhSrv.Sendhandler.SendReleaseSession" ); // debug print |
195 _DPRINT( 4, "PhSrv.Sendhandler.SendReleaseSession" ); // debug print |
196 iUssdMessaging.SendRelease( |
196 iUssdMessaging.SendRelease( |
197 iSessionCancelWaiter->iStatus, |
197 iSessionCancelWaiter->iStatus, |
198 iSessionCancelWaiter->iSSRequestPckg ); |
198 iSessionCancelWaiter->iSSRequestPckg ); |
199 _DPRINT( 4, "PhSrv.Sendhandler.SendReleaseSession2" ); |
199 _DPRINT( 4, "PhSrv.Sendhandler.SendReleaseSession2" ); |
200 iSessionCancelWaiter->SetActive(); |
200 iSessionCancelWaiter->SetActive(); |
201 _DDPRINT( 4, "PhSrv.Sendhandler.SRS.iUssdMessaging", iStatus.Int() ); |
201 _DDPRINT( 4, "PhSrv.Sendhandler.SRS.iUssdMessaging", iStatus.Int() ); |
202 } |
202 } |
203 _DPRINT( 4, "PhSrv.Sendhandler.SendReleaseSession.End" ); // debug print |
203 _DPRINT( 4, "PhSrv.Sendhandler.SendReleaseSession.End" ); // debug print |
204 } |
204 } |
205 |
205 |
206 // End of File |
206 // End of File |