mmserv/tms/tmsimpl/inc/tmsglobalvoleffectbodyimpl.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_VOLUME_EFFECT_BODY_IMPL_H
       
    19 #define TMS_GLOBAL_VOLUME_EFFECT_BODY_IMPL_H
       
    20 
       
    21 #include <tms.h>
       
    22 #include "tmsglobalvoleffectbody.h"
       
    23 
       
    24 namespace TMS {
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class TMSEffectObserver;
       
    28 class TMSProxy;
       
    29 class TMSEffect;
       
    30 
       
    31 // TMSGlobalVolEffectBodyImpl class
       
    32 class TMSGlobalVolEffectBodyImpl : public TMSGlobalVolEffectBody
       
    33     {
       
    34 public:
       
    35     static gint Create(TMSGlobalVolEffectBody*& bodyimpl);
       
    36 
       
    37     // From TMSVolumeEffectBody
       
    38     virtual ~TMSGlobalVolEffectBodyImpl();
       
    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     TMSGlobalVolEffectBodyImpl();
       
    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_VOLUME_EFFECT_BODY_IMPL_H
       
    63 
       
    64 // End of file