00001 /* 00002 * ============================================================================== 00003 * Name : sensrvchannelfinder.h 00004 * Interface : Sensor Channel API 00005 * Description : Sensor Channel API 00006 * Version : %version: 2.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 SENSRVCHANNELFINDER_H 00023 #define SENSRVCHANNELFINDER_H 00024 00025 // INCLUDES 00026 #include <e32base.h> 00027 #include <sensrvtypes.h> 00028 #include <sensrvchannelinfo.h> 00029 00030 // CLASS DECLARATION 00031 class MSensrvChannelListener; 00032 00059 NONSHARABLE_CLASS( CSensrvChannelFinder ): public CBase 00060 { 00061 public: 00070 IMPORT_C static CSensrvChannelFinder* NewL(); 00071 00080 IMPORT_C static CSensrvChannelFinder* NewLC(); 00081 00082 public: 00100 virtual void FindChannelsL( RSensrvChannelInfoList& aChannelList, 00101 const TSensrvChannelInfo& aSearchParameters ) = 0; 00102 00122 virtual void SetChannelListenerL( MSensrvChannelListener* aChannelListener, 00123 const TSensrvChannelInfo& aSearchParameters ) = 0; 00124 00125 public: 00129 CSensrvChannelFinder(); 00130 }; 00131 00132 00133 #endif //SENSRVCHANNELFINDER_H 00134 00135 // End of File