mmserv/tms/tmscallserver/src/tmscallsession.cpp
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 20 b67dd1fc57c5
equal deleted inserted replaced
12:5a06f39ad45b 14:80975da52420
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #include "tmsutility.h"
    18 #include "tmsutility.h"
    19 #include "tmsutility.h"
    19 #include "tmsutility.h"
    20 #include "calladpt.h"
    20 #include "tmscalladpt.h"
    21 #include "tmscallserver.h"
    21 #include "tmscallserver.h"
    22 #include "tmscallclisrv.h"
    22 #include "tmscallclisrv.h"
    23 #include "tmscallsession.h"
    23 #include "tmscallsession.h"
    24 
    24 
    25 using namespace TMS;
    25 using namespace TMS;
  1060 //
  1060 //
  1061 void TMSCallSession::HandleRoutingGetOutputL(const RMessage2& aMessage)
  1061 void TMSCallSession::HandleRoutingGetOutputL(const RMessage2& aMessage)
  1062     {
  1062     {
  1063     TRACE_PRN_FN_ENT;
  1063     TRACE_PRN_FN_ENT;
  1064     gint status(TMS_RESULT_DOES_NOT_EXIST);
  1064     gint status(TMS_RESULT_DOES_NOT_EXIST);
  1065     TMSAudioOutput outputtype;
  1065     TMSAudioOutput outputtype(TMS_AUDIO_OUTPUT_NONE);
  1066     if (iCallAdpt)
  1066     if (iCallAdpt)
  1067         {
  1067         {
  1068         status = iCallAdpt->GetOutput(outputtype);
  1068         status = iCallAdpt->GetOutput(outputtype);
  1069         }
  1069         }
  1070     TPckgBuf<gint> p(outputtype);
  1070     TPckgBuf<gint> p(outputtype);
  1080 void TMSCallSession::HandleRoutingGetPreviousOutputL(
  1080 void TMSCallSession::HandleRoutingGetPreviousOutputL(
  1081         const RMessage2& aMessage)
  1081         const RMessage2& aMessage)
  1082     {
  1082     {
  1083     TRACE_PRN_FN_ENT;
  1083     TRACE_PRN_FN_ENT;
  1084     gint status(TMS_RESULT_DOES_NOT_EXIST);
  1084     gint status(TMS_RESULT_DOES_NOT_EXIST);
  1085     TMSAudioOutput outputtype;
  1085     TMSAudioOutput outputtype(TMS_AUDIO_OUTPUT_NONE);
  1086     if (iCallAdpt)
  1086     if (iCallAdpt)
  1087         {
  1087         {
  1088         status = iCallAdpt->GetPreviousOutput(outputtype);
  1088         status = iCallAdpt->GetPreviousOutput(outputtype);
  1089         }
  1089         }
  1090     TPckgBuf<gint> p(outputtype);
  1090     TPckgBuf<gint> p(outputtype);