00001 /* 00002 * ============================================================================== 00003 * Name : EPos_CPosLmPartialReadParameters.h 00004 * Part of : Mobile Location Framework/Landmarks 00005 * Interface : SDK/S60, Landmarks API 00006 * Description : CPosLmPartialReadParameters 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 CPOSLMPARTIALREADPARAMETERS_H 00022 #define CPOSLMPARTIALREADPARAMETERS_H 00023 00024 #include <e32base.h> 00025 #include <lbsfields.h> 00026 #include "epos_cposlandmark.h" 00027 00036 class CPosLmPartialReadParameters : public CBase 00037 { 00038 public: 00039 00044 IMPORT_C static CPosLmPartialReadParameters* NewLC(); 00045 00049 virtual ~CPosLmPartialReadParameters(); 00050 00051 public: 00052 00062 IMPORT_C CPosLandmark::TAttributes RequestedAttributes() const; 00063 00073 IMPORT_C void SetRequestedAttributes( 00074 CPosLandmark::TAttributes aAttributes 00075 ); 00076 00086 IMPORT_C TInt GetRequestedPositionFields( 00087 RArray<TUint>& aRequestedFields 00088 ) const; 00089 00099 IMPORT_C TInt SetRequestedPositionFields( 00100 const RArray<TUint>& aRequestedFields 00101 ); 00102 00103 private: 00104 00105 // C++ constructor. 00106 CPosLmPartialReadParameters(); 00107 00108 // Symbian constructor 00109 void ConstructL(); 00110 00111 // Prohibit copy constructor 00112 CPosLmPartialReadParameters( 00113 const CPosLmPartialReadParameters& ); 00114 // Prohibit assigment operator 00115 CPosLmPartialReadParameters& operator= ( 00116 const CPosLmPartialReadParameters& ); 00117 00118 private: 00119 00120 // Requested position fields 00121 RArray<TUint> iRequestedFields; 00122 00123 // Requested attributes 00124 TUint32 iAttributes; 00125 }; 00126 00127 // CPOSLMPARTIALREADPARAMETERS_H 00128 #endif 00129 00130