mmserv/tms/tmsimpl/src/tmsilbcimpl.cpp
branchRCL_3
changeset 9 f5c5c82a163e
parent 7 3d8c721bf319
child 12 2eb3b066cc7d
equal deleted inserted replaced
8:03a293c97d5c 9:f5c5c82a163e
    41     ret = TMSILBCFormatBodyImpl::Create(bodyimpl);
    41     ret = TMSILBCFormatBodyImpl::Create(bodyimpl);
    42 
    42 
    43     if (ret == TMS_RESULT_SUCCESS)
    43     if (ret == TMS_RESULT_SUCCESS)
    44         {
    44         {
    45         this->iBody = bodyimpl;
    45         this->iBody = bodyimpl;
    46         this->iFormatBody = (TMSILBCFormatBodyImpl*) bodyimpl;
    46         this->iFormatBody = static_cast<TMSILBCFormatBodyImpl*>(bodyimpl);
    47         }
    47         }
    48     TRACE_PRN_FN_EXT;
    48     TRACE_PRN_FN_EXT;
    49     return ret;
    49     return ret;
    50     }
    50     }
    51 
    51 
    73         gpointer queuehandler)
    73         gpointer queuehandler)
    74     {
    74     {
    75     gint ret(TMS_RESULT_SUCCESS);
    75     gint ret(TMS_RESULT_SUCCESS);
    76     if (this->iBody)
    76     if (this->iBody)
    77         {
    77         {
    78         ((TMSILBCFormatBodyImpl*) this->iBody)->SetProxy(context, queuehandler);
    78         static_cast<TMSILBCFormatBodyImpl*>(this->iBody)->SetProxy(context,
       
    79                 queuehandler);
    79         }
    80         }
    80     else
    81     else
    81         {
    82         {
    82         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
    83         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
    83         }
    84         }