mmserv/tms/tmsimpl/src/tmsglobalvoleffectimpl.cpp
changeset 12 5a06f39ad45b
parent 0 71ca22bcf22a
child 13 f5c5c82a163e
--- a/mmserv/tms/tmsimpl/src/tmsglobalvoleffectimpl.cpp	Tue Feb 02 01:08:46 2010 +0200
+++ b/mmserv/tms/tmsimpl/src/tmsglobalvoleffectimpl.cpp	Fri Apr 16 15:29:42 2010 +0300
@@ -15,9 +15,8 @@
  *
  */
 
-#include <tms.h>
+#include "tmsutility.h"
 #include "tmsglobalvoleffectbodyimpl.h"
-#include "tmsutility.h"
 #include "tmsglobalvoleffectimpl.h"
 
 using namespace TMS;
@@ -45,7 +44,6 @@
         {
         this->iBody = bodyimpl;
         }
-
     TRACE_PRN_FN_EXT;
     return ret;
     }
@@ -65,23 +63,21 @@
             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 TMSGlobalVolEffectImpl::SetParentEffect(TMSEffect*& parenteffect)
+gint TMSGlobalVolEffectImpl::SetParent(TMSEffect*& parent)
     {
-    gint  ret(TMS_RESULT_SUCCESS);
+    gint ret(TMS_RESULT_SUCCESS);
     if (this->iBody)
         {
-        ((TMSGlobalVolEffectBodyImpl*) this->iBody)->SetParentEffect(parenteffect);
+        ((TMSGlobalVolEffectBodyImpl*) this->iBody)->SetParent(parent);
         }
     else
         {
@@ -90,4 +86,3 @@
     return ret;
     }
 
-// End of file