mmserv/tms/tmsimpl/src/tmsg711impl.cpp
branchRCL_3
changeset 13 f5c5c82a163e
parent 10 3d8c721bf319
child 18 2eb3b066cc7d
equal deleted inserted replaced
11:03a293c97d5c 13:f5c5c82a163e
    41     ret = TMSG711FormatBodyImpl::Create(bodyimpl);
    41     ret = TMSG711FormatBodyImpl::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 = (TMSG711FormatBodyImpl*) bodyimpl;
    46         this->iFormatBody = static_cast<TMSG711FormatBodyImpl*>(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         ((TMSG711FormatBodyImpl*) this->iBody)->SetProxy(context, queuehandler);
    78         static_cast<TMSG711FormatBodyImpl*>(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         }