qtms/inc/qtmsglobalvoleffectimpl.h
branchRCL_3
changeset 25 63223d4fd956
parent 24 6c1dfe4da5dd
child 26 666f9a5a90a9
equal deleted inserted replaced
24:6c1dfe4da5dd 25:63223d4fd956
     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_VOLUME_EFFECT_IMPL_H
       
    19 #define QTMS_GLOBAL_VOLUME_EFFECT_IMPL_H
       
    20 
       
    21 #include <qtms.h>
       
    22 #include <qtmsglobalvoleffect.h>
       
    23 #include <tmseffectobsrvr.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 namespace TMS
       
    27 {
       
    28 class TMSEffect;
       
    29 }
       
    30 
       
    31 namespace QTMS
       
    32 {
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 class QTMSEffect;
       
    36 
       
    37 // QTMSGlobalVolEffectImpl class
       
    38 class QTMSGlobalVolEffectImpl: public QTMSGlobalVolEffect, public TMS::TMSEffectObserver
       
    39 {
       
    40 public:
       
    41 
       
    42     static gint Create(QTMSEffect*& qglobalvol, TMS::TMSEffect*& tmsglobalvol);
       
    43     virtual ~QTMSGlobalVolEffectImpl();
       
    44 
       
    45     gint AddObserver(TMS::TMSEffectObserver& obsrvr, gpointer user_data);
       
    46     gint RemoveObserver(TMS::TMSEffectObserver& obsrvr);
       
    47 
       
    48     //from TMSEffectObserver
       
    49     void EffectsEvent(const TMS::TMSEffect& tmseffect, TMS::TMSSignalEvent event);
       
    50 
       
    51 private:
       
    52     QTMSGlobalVolEffectImpl();
       
    53     gint PostConstruct();
       
    54 };
       
    55 
       
    56 } //namespace QTMS
       
    57 
       
    58 #endif // QTMS_GLOBAL_VOLUME_EFFECT_IMPL_H
       
    59 // End of file