00001 /* 00002 * ============================================================================== 00003 * Name : EPos_CPosLmOperation.h 00004 * Part of : Mobile Location Framework/Landmarks 00005 * Interface : SDK/S60, Landmarks API 00006 * Description : CPosLmOperation class 00007 * Version : %version: bh1cfloc#4 % 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 CPOSLMOPERATION_H 00022 #define CPOSLMOPERATION_H 00023 00024 #include <e32base.h> 00025 00026 class CPosLmOperation; 00027 00050 inline void ExecuteAndDeleteLD( CPosLmOperation* aOperation ); 00051 00052 00071 class CPosLmOperation : public CBase 00072 { 00073 public: 00074 00078 IMPORT_C virtual ~CPosLmOperation(); 00079 00080 public: 00081 00117 virtual void NextStep( 00118 TRequestStatus& aStatus, 00119 TReal32& aProgress 00120 ) = 0; 00121 00131 virtual void ExecuteL() = 0; 00132 00133 protected: 00134 00135 // C++ constructor. 00136 IMPORT_C CPosLmOperation(); 00137 00138 private: 00139 00140 // Prohibit copy constructor 00141 CPosLmOperation( const CPosLmOperation& ); 00142 // Prohibit assigment operator 00143 CPosLmOperation& operator= ( const CPosLmOperation& ); 00144 00145 }; 00146 00147 #include "epos_cposlmoperation.inl" 00148 00149 // CPOSLMOPERATION_H 00150 #endif 00151 00152