phoneclientserver/phoneserver/Src/Ussd/CPhSrvUssdSendHandler.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
    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