00001 /* 00002 * ============================================================================ 00003 * Name : sensrvdatalistener.h 00004 * Interface : Sensor Channel API 00005 * Description : Data listener 00006 * Version : %version: 3.1.3 % << 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 SENSRVDATALISTENER_H 00022 #define SENSRVDATALISTENER_H 00023 00024 00025 #include <e32base.h> 00026 #include <sensrvchannel.h> 00027 #include <sensrvtypes.h> 00028 00042 class MSensrvDataListener 00043 { 00044 public: 00065 virtual void DataReceived( CSensrvChannel& aChannel, 00066 TInt aCount, 00067 TInt aDataLost ) = 0; 00068 00082 virtual void DataError( CSensrvChannel& aChannel, 00083 TSensrvErrorSeverity aError ) = 0; 00084 00096 virtual void GetDataListenerInterfaceL( TUid aInterfaceUid, TAny*& aInterface ) = 0; 00097 00098 }; 00099 00100 #endif //SENSRVDATALISTENER_H 00101 00102 // End of File