mmserv/tms/tmsfactory/src/tmsfactory.cpp
branchRCL_3
changeset 7 3d8c721bf319
parent 0 71ca22bcf22a
child 19 095bea5f582e
equal deleted inserted replaced
6:e35735ece90c 7:3d8c721bf319
    28 EXPORT_C TMSFactory::~TMSFactory()
    28 EXPORT_C TMSFactory::~TMSFactory()
    29     {
    29     {
    30     delete impl;
    30     delete impl;
    31     }
    31     }
    32 
    32 
    33 EXPORT_C gint TMSFactory::CreateFactory(TMSFactory*& tmsfactory, TMSVer& /*ver*/)
    33 EXPORT_C gint TMSFactory::CreateFactory(TMSFactory*& tmsfactory,
       
    34         TMSVer& /*ver*/)
    34     {
    35     {
    35     TMSFactory* self = new TMSFactory();
    36     TMSFactory* self = new TMSFactory();
    36     tmsfactory = self;
    37     tmsfactory = self;
    37     return TMS_RESULT_SUCCESS;
    38     return TMS_RESULT_SUCCESS;
    38     }
    39     }
    56         status = impl->DeleteCall(tmscall);
    57         status = impl->DeleteCall(tmscall);
    57         }
    58         }
    58     return status;
    59     return status;
    59     }
    60     }
    60 
    61 
    61 EXPORT_C gint TMSFactory::IsCallTypeSupported(TMSCallType ctype, gboolean& flag)
    62 EXPORT_C gint TMSFactory::IsCallTypeSupported(TMSCallType ctype,
       
    63         gboolean& flag)
    62     {
    64     {
    63     gint status(TMS_RESULT_UNINITIALIZED_OBJECT);
    65     gint status(TMS_RESULT_UNINITIALIZED_OBJECT);
    64     if (impl)
    66     if (impl)
    65         {
    67         {
    66         status = impl->IsCallTypeSupported(ctype, flag);
    68         status = impl->IsCallTypeSupported(ctype, flag);