00001 /* 00002 * ============================================================================== 00003 * Name : EPos_CPosLmItemIterator.h 00004 * Part of : Mobile Location Framework/Landmarks 00005 * Interface : SDK/S60, Landmarks API 00006 * Description : CPosLmItemIterator class 00007 * Version : %version: bh1cfloc#3 % 00008 * 00009 * Copyright © 2005-2006 Nokia. All rights reserved. 00010 * This material, including documentation and any related computer 00011 * programs, is protected by copyright controlled by Nokia. All 00012 * rights are reserved. Copying, including reproducing, storing, 00013 * adapting or translating, any or all of this material requires the 00014 * prior written consent of Nokia. This material also contains 00015 * confidential information which may not be disclosed to others 00016 * without the prior written consent of Nokia. 00017 * ============================================================================ 00018 * Template version: 4.0 00019 */ 00020 00021 #ifndef CPOSLMITEMITERATOR_H 00022 #define CPOSLMITEMITERATOR_H 00023 00024 #include <e32base.h> 00025 #include "epos_landmarks.h" 00026 00046 class CPosLmItemIterator : public CBase 00047 { 00048 public: 00049 00053 IMPORT_C virtual ~CPosLmItemIterator(); 00054 00055 public: 00056 00065 virtual TPosLmItemId NextL() = 0; 00066 00073 virtual void Reset() = 0; 00074 00080 virtual TUint NumOfItemsL() = 0; 00081 00099 virtual void GetItemIdsL( 00100 RArray<TPosLmItemId>& aIdArray, 00101 TInt aStartIndex, 00102 TInt aNumOfItems 00103 ) = 0; 00104 00105 protected: 00106 00107 // C++ constructor. 00108 IMPORT_C CPosLmItemIterator(); 00109 00110 private: 00111 00112 // Prohibit copy constructor 00113 CPosLmItemIterator( const CPosLmItemIterator& ); 00114 // Prohibit assigment operator 00115 CPosLmItemIterator& operator= ( const CPosLmItemIterator& ); 00116 00117 }; 00118 00119 // CPOSLMITEMITERATOR_H 00120 #endif 00121 00122