00001 /* 00002 * ============================================================================ 00003 * Name : sensrvchannelconditionlistener.h 00004 * Interface : Sensor Channel API 00005 * Description : Condition listener call-back interface 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 #ifndef SENSRVCHANNELCONDITIONLISTENER_H 00022 #define SENSRVCHANNELCONDITIONLISTENER_H 00023 00024 #include <e32base.h> 00025 #include <sensrvchannelconditionset.h> 00026 #include <sensrvtypes.h> 00027 00042 class MSensrvChannelConditionListener 00043 { 00044 public: 00063 virtual void ConditionMet( CSensrvChannel& aChannel, 00064 CSensrvChannelConditionSet& aChannelConditionSet, 00065 TDesC8& aValue ) = 0; 00066 00080 virtual void ConditionError ( CSensrvChannel& aChannel, 00081 TSensrvErrorSeverity aError ) = 0; 00082 00094 virtual void GetChannelConditionListenerInterfaceL( TUid aInterfaceUid, TAny*& aInterface ) = 0; 00095 00096 }; 00097 00098 00099 00100 #endif //SENSRVCHANNELCONDITIONLISTENER_H 00101 00102 // End of File