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