mmserv/tms/tmsimpl/inc/tmsglobalgaineffectbodyimpl.h
changeset 0 71ca22bcf22a
child 10 3d8c721bf319
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: Telephony Multimedia Service
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMS_GLOBAL_GAIN_EFFECT_BODY_IMPL_H
       
    19 #define TMS_GLOBAL_GAIN_EFFECT_BODY_IMPL_H
       
    20 
       
    21 #include <tms.h>
       
    22 #include "tmsglobalgaineffectbody.h"
       
    23 
       
    24 namespace TMS {
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class TMSEffectObserver;
       
    28 class TMSProxy;
       
    29 class TMSEffect;
       
    30 
       
    31 // TMSGlobalGainEffectBodyImpl class
       
    32 class TMSGlobalGainEffectBodyImpl : public TMSGlobalGainEffectBody
       
    33     {
       
    34 public:
       
    35     static gint Create(TMSGlobalGainEffectBody*& bodyimpl);
       
    36     virtual ~TMSGlobalGainEffectBodyImpl();
       
    37 
       
    38     // From TMSGainEffectBody
       
    39     virtual gint AddObserver(TMSEffectObserver& obsrvr, gpointer user_data);
       
    40     virtual gint RemoveObserver(TMSEffectObserver& obsrvr);
       
    41     virtual gint SetLevel(const guint level);
       
    42     virtual gint GetLevel(guint& level);
       
    43     virtual gint GetMaxLevel(guint& level);
       
    44     virtual gint GetType(TMSEffectType& effecttype);
       
    45 
       
    46     void SetParentEffect(TMSEffect*& parenteffect);
       
    47 
       
    48 private:
       
    49     TMSGlobalGainEffectBodyImpl();
       
    50     gint PostConstruct();
       
    51 
       
    52 private:
       
    53     TMSEffectObserver* iObserver;
       
    54     gint iClientId;
       
    55     gpointer iUserData;
       
    56     TMSProxy* iProxy;
       
    57     TMSEffect* iGlobalEffect;
       
    58     };
       
    59 
       
    60 } //namespace TMS
       
    61 
       
    62 #endif // TMS_GLOBAL_GAIN_EFFECT_BODY_IMPL_H
       
    63 
       
    64 // End of file