mmserv/tms/tmsimpl/src/tmsgaineffectimpl.cpp
branchRCL_3
changeset 7 3d8c721bf319
parent 0 71ca22bcf22a
child 9 f5c5c82a163e
--- a/mmserv/tms/tmsimpl/src/tmsgaineffectimpl.cpp	Mon Mar 15 12:42:35 2010 +0200
+++ b/mmserv/tms/tmsimpl/src/tmsgaineffectimpl.cpp	Wed Mar 31 22:29:45 2010 +0300
@@ -15,9 +15,8 @@
  *
  */
 
-#include <tms.h>
+#include "tmsutility.h"
 #include "tmsgaineffectbodyimpl.h"
-#include "tmsutility.h"
 #include "tmsgaineffectimpl.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 TMSGainEffectImpl::SetParentEffect(TMSEffect*& parenteffect)
-    {
-    gint  ret(TMS_RESULT_SUCCESS);
-    if (this->iBody)
-        {
-        ((TMSGainEffectBodyImpl*) this->iBody)->SetParentEffect(parenteffect);
-        }
-    else
-        {
-        ret = TMS_RESULT_UNINITIALIZED_OBJECT;
-        }
-    return ret;
-    }
-
 gint TMSGainEffectImpl::SetProxy(TMSCallProxy* aProxy, gpointer queuehandler)
     {
     gint ret(TMS_RESULT_SUCCESS);
@@ -102,4 +86,17 @@
     return ret;
     }
 
-// End of file
+gint TMSGainEffectImpl::SetParent(TMSEffect*& parent)
+    {
+    gint ret(TMS_RESULT_SUCCESS);
+    if (this->iBody)
+        {
+        ((TMSGainEffectBodyImpl*) this->iBody)->SetParent(parent);
+        }
+    else
+        {
+        ret = TMS_RESULT_UNINITIALIZED_OBJECT;
+        }
+    return ret;
+    }
+