equal
deleted
inserted
replaced
75 gint TMSGainEffectImpl::SetProxy(TMSCallProxy* aProxy, gpointer queuehandler) |
75 gint TMSGainEffectImpl::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 ((TMSGainEffectBodyImpl*) this->iBody)->SetProxy(aProxy, queuehandler); |
80 static_cast<TMSGainEffectBodyImpl*>(this->iBody)->SetProxy(aProxy, |
|
81 queuehandler); |
81 } |
82 } |
82 else |
83 else |
83 { |
84 { |
84 ret = TMS_RESULT_UNINITIALIZED_OBJECT; |
85 ret = TMS_RESULT_UNINITIALIZED_OBJECT; |
85 } |
86 } |
89 gint TMSGainEffectImpl::SetParent(TMSEffect*& parent) |
90 gint TMSGainEffectImpl::SetParent(TMSEffect*& parent) |
90 { |
91 { |
91 gint ret(TMS_RESULT_SUCCESS); |
92 gint ret(TMS_RESULT_SUCCESS); |
92 if (this->iBody) |
93 if (this->iBody) |
93 { |
94 { |
94 ((TMSGainEffectBodyImpl*) this->iBody)->SetParent(parent); |
95 static_cast<TMSGainEffectBodyImpl*>(this->iBody)->SetParent(parent); |
95 } |
96 } |
96 else |
97 else |
97 { |
98 { |
98 ret = TMS_RESULT_UNINITIALIZED_OBJECT; |
99 ret = TMS_RESULT_UNINITIALIZED_OBJECT; |
99 } |
100 } |