qtms/inc/qtmsglobalgaineffectimpl.h
changeset 27 cbb1bfb7ebfb
child 50 762d760dcfdf
equal deleted inserted replaced
25:d881023c13eb 27:cbb1bfb7ebfb
       
     1 /*
       
     2  * Copyright (c) 2010 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: QT Bindings for TMS
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef QTMS_GLOBAL_GAIN_EFFECT_IMPL_H
       
    19 #define QTMS_GLOBAL_GAIN_EFFECT_IMPL_H
       
    20 
       
    21 #include <qtms.h>
       
    22 #include <qtmsglobalgaineffect.h>
       
    23 #include <tmseffectobsrvr.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 namespace TMS {
       
    27 class TMSEffect;
       
    28 }
       
    29 
       
    30 namespace QTMS {
       
    31 
       
    32 // FORWARD DECLARATIONS
       
    33 class QTMSEffect;
       
    34 
       
    35 // QTMSGlobalGainEffectImpl class
       
    36 class QTMSGlobalGainEffectImpl : public QTMSGlobalGainEffect,
       
    37                                  public TMS::TMSEffectObserver
       
    38     {
       
    39 public:
       
    40     static gint Create(QTMSEffect*& qglobalgain,
       
    41             TMS::TMSEffect*& tmsglobalgain);
       
    42     virtual ~QTMSGlobalGainEffectImpl();
       
    43 
       
    44     gint AddObserver(TMS::TMSEffectObserver& obsrvr, gpointer user_data);
       
    45     gint RemoveObserver(TMS::TMSEffectObserver& obsrvr);
       
    46 
       
    47     //from TMSEffectObserver
       
    48     void EffectsEvent(const TMS::TMSEffect& tmseffect,
       
    49             TMS::TMSSignalEvent event);
       
    50 
       
    51 private:
       
    52     QTMSGlobalGainEffectImpl();
       
    53     gint PostConstruct();
       
    54     };
       
    55 
       
    56 } //namespace QTMS
       
    57 
       
    58 #endif // QTMS_GLOBAL_GAIN_EFFECT_IMPL_H
       
    59 
       
    60 // End of file