equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Telephony Multimedia Service |
14 * Description: Telephony Multimedia Service |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include <tms.h> |
18 #include "tmsutility.h" |
19 #include "tmsglobalgaineffectbodyimpl.h" |
19 #include "tmsglobalgaineffectbodyimpl.h" |
20 #include "tmsutility.h" |
|
21 #include "tmsglobalgaineffectimpl.h" |
20 #include "tmsglobalgaineffectimpl.h" |
22 |
21 |
23 using namespace TMS; |
22 using namespace TMS; |
24 |
23 |
25 TMSGlobalGainEffectImpl::TMSGlobalGainEffectImpl() |
24 TMSGlobalGainEffectImpl::TMSGlobalGainEffectImpl() |
65 } |
64 } |
66 } |
65 } |
67 if (self && ret == TMS_RESULT_SUCCESS) |
66 if (self && ret == TMS_RESULT_SUCCESS) |
68 { |
67 { |
69 tmseffect = self; |
68 tmseffect = self; |
70 self->SetParentEffect(tmseffect); |
69 ret = self->SetParent(tmseffect); |
71 } |
70 } |
72 TRACE_PRN_FN_EXT; |
71 TRACE_PRN_FN_EXT; |
73 return ret; |
72 return ret; |
74 } |
73 } |
75 |
74 |
76 gint TMSGlobalGainEffectImpl::SetParentEffect(TMSEffect*& parenteffect) |
75 gint TMSGlobalGainEffectImpl::SetParent(TMSEffect*& parent) |
77 { |
76 { |
78 gint ret(TMS_RESULT_SUCCESS); |
77 gint ret(TMS_RESULT_SUCCESS); |
79 if (this->iBody) |
78 if (this->iBody) |
80 { |
79 { |
81 ((TMSGlobalGainEffectBodyImpl*) this->iBody)->SetParentEffect( |
80 ((TMSGlobalGainEffectBodyImpl*) this->iBody)->SetParent(parent); |
82 parenteffect); |
|
83 } |
81 } |
84 else |
82 else |
85 { |
83 { |
86 ret = TMS_RESULT_UNINITIALIZED_OBJECT; |
84 ret = TMS_RESULT_UNINITIALIZED_OBJECT; |
87 } |
85 } |
88 return ret; |
86 return ret; |
89 } |
87 } |
90 |
88 |
91 // End of file |
|