00001 /* 00002 * ============================================================================== 00003 * Name : MAudioEffectObserver.h 00004 * Part of : Effects Framework 00005 * Interface : Audio Effect Observer 00006 * Description : Definition of the Audio Effect Observer class. 00007 * Version : 0.2 00008 * 00009 * Copyright © 2004 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================== 00019 */ 00020 00021 00022 #ifndef AUDIOEFFECTOBSERVER_H 00023 #define AUDIOEFFECTOBSERVER_H 00024 00025 // CLASS DECLARATION 00026 00027 00034 class MAudioEffectObserver 00035 { 00036 public: 00037 00038 static const TUint KEnabled = 1; // The effect is enabled. 00039 static const TUint KDisabled = 2; // The effect is disabled 00040 static const TUint KEnforced = 3; // The effect is enforced 00041 static const TUint KNotEnforced = 4; // The effect is not enforced 00042 static const TUint KLostUpdateRights = 5; // The effect has lost update rights 00043 static const TUint KGainedUpdateRights = 6; // The effect has gained update rights 00044 static const TUint KSpecificEffectBase = 20; // Offset to specific effect events 00045 00052 virtual void EffectChanged( const CAudioEffect* aObservedEffect, TUint8 aEvent ) = 0; 00053 00054 }; 00055 00056 // AUDIOEFFECTOBSERVER_H 00057 #endif 00058 00059 // End of File