2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Definition of the Audio Effect Observer class.
20 #ifndef AUDIOEFFECTOBSERVER_H
21 #define AUDIOEFFECTOBSERVER_H
27 * Interface class to be implemented by objects that are interested in receiving events from
32 class MAudioEffectObserver
36 static const TUint KEnabled = 1; // The effect is enabled.
37 static const TUint KDisabled = 2; // The effect is disabled
38 static const TUint KEnforced = 3; // The effect is enforced
39 static const TUint KNotEnforced = 4; // The effect is not enforced
40 static const TUint KLostUpdateRights = 5; // The effect has lost update rights
41 static const TUint KGainedUpdateRights = 6; // The effect has gained update rights
42 static const TUint KSpecificEffectBase = 20; // Offset to specific effect events
45 * Invoked by the audio effect object when the status of the audio effect has changed.
47 * @param aObservedEffect The effect that changed
48 * @param aEvent The specific event Id of the effect that changed.
50 virtual void EffectChanged( const CAudioEffect* aObservedEffect, TUint8 aEvent ) = 0;
54 #endif // AUDIOEFFECTOBSERVER_H