equal
deleted
inserted
replaced
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 } |