diff -r e35735ece90c -r 3d8c721bf319 mmserv/tms/tmsimpl/src/tmsvolumeeffectimpl.cpp --- a/mmserv/tms/tmsimpl/src/tmsvolumeeffectimpl.cpp Mon Mar 15 12:42:35 2010 +0200 +++ b/mmserv/tms/tmsimpl/src/tmsvolumeeffectimpl.cpp Wed Mar 31 22:29:45 2010 +0300 @@ -15,9 +15,8 @@ * */ -#include +#include "tmsutility.h" #include "tmsvolumeeffectbodyimpl.h" -#include "tmsutility.h" #include "tmsvolumeeffectimpl.h" using namespace TMS; @@ -64,30 +63,15 @@ self = NULL; } } - if (self && ret == TMS_RESULT_SUCCESS) { tmseffect = self; - ret = self->SetParentEffect(tmseffect); + ret = self->SetParent(tmseffect); } TRACE_PRN_FN_EXT; return ret; } -gint TMSVolumeEffectImpl::SetParentEffect(TMSEffect*& parenteffect) - { - gint ret(TMS_RESULT_SUCCESS); - if (this->iBody) - { - ((TMSVolumeEffectBodyImpl*) this->iBody)->SetParentEffect(parenteffect); - } - else - { - ret = TMS_RESULT_UNINITIALIZED_OBJECT; - } - return ret; - } - gint TMSVolumeEffectImpl::SetProxy(TMSCallProxy* aProxy, gpointer queuehandler) { gint ret(TMS_RESULT_SUCCESS); @@ -103,4 +87,17 @@ return ret; } -// End of file +gint TMSVolumeEffectImpl::SetParent(TMSEffect*& parent) + { + gint ret(TMS_RESULT_SUCCESS); + if (this->iBody) + { + ((TMSVolumeEffectBodyImpl*) this->iBody)->SetParent(parent); + } + else + { + ret = TMS_RESULT_UNINITIALIZED_OBJECT; + } + return ret; + } +