mmserv/tms/tmsfactory/src/tmsfactoryimpl.cpp
branchRCL_3
changeset 7 3d8c721bf319
parent 0 71ca22bcf22a
child 9 f5c5c82a163e
equal deleted inserted replaced
6:e35735ece90c 7:3d8c721bf319
    13  *
    13  *
    14  * Description: Telephony Multimedia Service
    14  * Description: Telephony Multimedia Service
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #include <tms.h>
       
    19 #include <tmscall.h>
       
    20 #include <tmsformat.h>
       
    21 #include <tmseffect.h>
       
    22 #include <tmsbuffer.h>
       
    23 #include <tmssource.h>
       
    24 #include <tmssink.h>
       
    25 #include "tmsutility.h"
       
    26 #include "tmsproxy.h"
       
    27 #include "tmscallimpl.h"
    18 #include "tmscallimpl.h"
    28 #include "tmsformatimpl.h"
    19 #include "tmsformatimpl.h"
    29 #include "tmseffectimpl.h"
    20 #include "tmseffectimpl.h"
    30 #include "tmsbufferimpl.h"
    21 #include "tmsbufferimpl.h"
    31 #include "tmssourceimpl.h"
    22 #include "tmssourceimpl.h"
    32 #include "tmssinkimpl.h"
    23 #include "tmssinkimpl.h"
    33 #include "tmsglobalroutingimpl.h"
    24 #include "tmsglobalroutingimpl.h"
       
    25 
       
    26 #include "tmsutility.h"
       
    27 #include "tmsproxy.h"
    34 #include "tmsfactoryimpl.h"
    28 #include "tmsfactoryimpl.h"
    35 
    29 
    36 using namespace TMS;
    30 using namespace TMS;
    37 
    31 
    38 TMSFactoryImpl::TMSFactoryImpl()
    32 TMSFactoryImpl::TMSFactoryImpl()
    55     }
    49     }
    56 
    50 
    57 gint TMSFactoryImpl::DeleteCall(TMSCall*& tmscall)
    51 gint TMSFactoryImpl::DeleteCall(TMSCall*& tmscall)
    58     {
    52     {
    59     gint ret(TMS_RESULT_SUCCESS);
    53     gint ret(TMS_RESULT_SUCCESS);
    60     // TODO put the delete in the impl
    54     ret = TMSCallImpl::Delete(tmscall);
    61     delete tmscall; //iTMSCall
       
    62     tmscall = NULL;
       
    63     return ret;
    55     return ret;
    64     }
    56     }
    65 
    57 
    66 gint TMSFactoryImpl::IsCallTypeSupported(TMSCallType ctype, gboolean& flag)
    58 gint TMSFactoryImpl::IsCallTypeSupported(TMSCallType ctype, gboolean& flag)
    67     {
    59     {