00001 /* 00002 * ============================================================================ 00003 * Name : sensrvchannellistener.h 00004 * Interface : Sensor Channel API 00005 * Description : Interface for channel listener 00006 * Version : %version: 3.1.1 % << Don't touch! Updated by Synergy at check-out. 00007 * 00008 * Copyright © 2008 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 * Template version: 4.1 00018 */ 00019 00020 00021 00022 #ifndef SENSRVCHANNELLISTENER_H 00023 #define SENSRVCHANNELLISTENER_H 00024 00025 00026 #include <e32base.h> 00027 #include <sensrvchannelfinder.h> 00028 #include <sensrvtypes.h> 00029 #include <sensrvchannelinfo.h> 00030 00042 class MSensrvChannelListener 00043 { 00044 public: 00045 00058 virtual void ChannelChangeDetected( const TSensrvChannelInfo& aDetectedChannel, 00059 TSensrvChannelChangeType aChangeType ) = 0; 00060 00074 virtual void ChannelDetectionError( CSensrvChannelFinder& aChannelFinder, 00075 TSensrvErrorSeverity aError ) = 0; 00076 00088 virtual void GetChannelListenerInterfaceL( TUid aInterfaceUid, TAny*& aInterface ) = 0; 00089 00090 }; 00091 00092 00093 00094 #endif //SENSRVCHANNELLISTENER_H 00095 00096 // End of File 00097