mmserv/tms/tmsimpl/src/tmsclientsinkimpl.cpp
branchRCL_3
changeset 17 60e492b28869
parent 12 2eb3b066cc7d
equal deleted inserted replaced
15:ab526b8cacfb 17:60e492b28869
    14  * Description: Telephony Multimedia Service
    14  * Description: Telephony Multimedia Service
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #include "tmsutility.h"
    18 #include "tmsutility.h"
       
    19 #include "tmsglobalcontext.h"
    19 #include "tmsclientsinkimpl.h"
    20 #include "tmsclientsinkimpl.h"
    20 #include "tmsclientsinkbodyimpl.h"
    21 #include "tmsclientsinkbodyimpl.h"
    21 
    22 
    22 using namespace TMS;
    23 using namespace TMS;
    23 
    24 
    66     tmssink = self;
    67     tmssink = self;
    67     TRACE_PRN_FN_EXT;
    68     TRACE_PRN_FN_EXT;
    68     return ret;
    69     return ret;
    69     }
    70     }
    70 
    71 
    71 gint TMSClientSinkImpl::SetProxy(TMSCallProxy* aProxy, gpointer queuehandler)
    72 gint TMSClientSinkImpl::SetProxy(TMSGlobalContext* context,
       
    73         gpointer queuehandler)
    72     {
    74     {
    73     gint ret = TMS_RESULT_SUCCESS;
    75     gint ret = TMS_RESULT_SUCCESS;
    74     if (this->iBody)
    76     if (this->iBody)
    75         {
    77         {
    76         static_cast<TMSClientSinkBodyImpl*>(this->iBody)->SetProxy(aProxy,
    78         static_cast<TMSClientSinkBodyImpl*>(this->iBody)->SetProxy(context,
    77                 queuehandler);
    79                 queuehandler);
    78         }
    80         }
    79     else
    81     else
    80         {
    82         {
    81         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
    83         ret = TMS_RESULT_UNINITIALIZED_OBJECT;