mmserv/tms/tmsimpl/src/tmsglobalgaineffectbodyimpl.cpp
branchRCL_3
changeset 18 2eb3b066cc7d
parent 10 3d8c721bf319
equal deleted inserted replaced
17:3570217d8c21 18:2eb3b066cc7d
    44     }
    44     }
    45 
    45 
    46 gint TMSGlobalGainEffectBodyImpl::Create(TMSGlobalGainEffectBody*& bodyimpl)
    46 gint TMSGlobalGainEffectBodyImpl::Create(TMSGlobalGainEffectBody*& bodyimpl)
    47     {
    47     {
    48     gint ret(TMS_RESULT_INSUFFICIENT_MEMORY);
    48     gint ret(TMS_RESULT_INSUFFICIENT_MEMORY);
    49     TMSGlobalGainEffectBodyImpl* self = new TMSGlobalGainEffectBodyImpl;
    49     TMSGlobalGainEffectBodyImpl* self = new TMSGlobalGainEffectBodyImpl();
    50     if (self)
    50     if (self)
    51         {
    51         {
    52         ret = self->PostConstruct();
    52         ret = self->PostConstruct();
    53         if (ret != TMS_RESULT_SUCCESS)
    53         if (ret != TMS_RESULT_SUCCESS)
    54             {
    54             {
    62 
    62 
    63 gint TMSGlobalGainEffectBodyImpl::PostConstruct()
    63 gint TMSGlobalGainEffectBodyImpl::PostConstruct()
    64     {
    64     {
    65     gint ret(TMS_RESULT_SUCCESS);
    65     gint ret(TMS_RESULT_SUCCESS);
    66     iClientId = 1;
    66     iClientId = 1;
    67     iProxy = new TMSProxy;
    67     iProxy = new TMSProxy();
    68     if (!iProxy)
    68     if (!iProxy)
    69         {
    69         {
    70         ret = TMS_RESULT_INSUFFICIENT_MEMORY;
    70         ret = TMS_RESULT_INSUFFICIENT_MEMORY;
    71         }
    71         }
    72     RET_REASON_IF_ERR(ret);
    72     RET_REASON_IF_ERR(ret);