mmserv/tms/tmsimpl/src/tmsilbcimpl.cpp
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 18 2eb3b066cc7d
equal deleted inserted replaced
12:5a06f39ad45b 14:80975da52420
    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         }