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