mmserv/tms/tmsimpl/src/tmsvolumeeffectimpl.cpp
branchRCL_3
changeset 13 f5c5c82a163e
parent 10 3d8c721bf319
child 18 2eb3b066cc7d
equal deleted inserted replaced
11:03a293c97d5c 13:f5c5c82a163e
    75 gint TMSVolumeEffectImpl::SetProxy(TMSCallProxy* aProxy, gpointer queuehandler)
    75 gint TMSVolumeEffectImpl::SetProxy(TMSCallProxy* aProxy, gpointer queuehandler)
    76     {
    76     {
    77     gint ret(TMS_RESULT_SUCCESS);
    77     gint ret(TMS_RESULT_SUCCESS);
    78     if (this->iBody)
    78     if (this->iBody)
    79         {
    79         {
    80         ((TMSVolumeEffectBodyImpl*) this->iBody)->SetProxy(aProxy,
    80         static_cast<TMSVolumeEffectBodyImpl*>(this->iBody)->SetProxy(aProxy,
    81                 queuehandler);
    81                 queuehandler);
    82         }
    82         }
    83     else
    83     else
    84         {
    84         {
    85         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
    85         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
    90 gint TMSVolumeEffectImpl::SetParent(TMSEffect*& parent)
    90 gint TMSVolumeEffectImpl::SetParent(TMSEffect*& parent)
    91     {
    91     {
    92     gint ret(TMS_RESULT_SUCCESS);
    92     gint ret(TMS_RESULT_SUCCESS);
    93     if (this->iBody)
    93     if (this->iBody)
    94         {
    94         {
    95         ((TMSVolumeEffectBodyImpl*) this->iBody)->SetParent(parent);
    95         static_cast<TMSVolumeEffectBodyImpl*>(this->iBody)->SetParent(parent);
    96         }
    96         }
    97     else
    97     else
    98         {
    98         {
    99         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
    99         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
   100         }
   100         }