diff -r 44bb89c96acb -r 8d692d9f828f serviceproviders/sapi_location/locationservice/inc/locationservice.h --- a/serviceproviders/sapi_location/locationservice/inc/locationservice.h Mon Oct 26 08:20:53 2009 +0200 +++ b/serviceproviders/sapi_location/locationservice/inc/locationservice.h Fri Nov 06 13:05:00 2009 +0200 @@ -40,6 +40,7 @@ _LIT8(KVerAccuracy,"VerticalAccuracy"); _LIT(KUnknown,"Unknown"); +const TInt KMaxSupportedFields = 25 ; /** * Default Update options @@ -57,6 +58,7 @@ const TInt KSMaxAge = 0; const TInt KGetLocationReq = 0 ; const TInt KTraceReq = 1 ; +const TInt errServiceNotReady = 1006; /** * Enums required for mathoperations @@ -279,6 +281,8 @@ */ void GetHighAccuracyModuleL(TPositionModuleId* aModId); + TInt SetSupportedFields() ; + TInt SetRequestingField(); @@ -319,6 +323,20 @@ * Module indtifier used by location server for getting location information */ TPositionModuleId iModuleId ; + /** + * Member variable which holds all the Generic position information + */ + + HPositionGenericInfo *iGenericPosInfo ; + /** + * Class member which contains all the field ids of all the supported Hposition info fields + */ + + TPositionFieldId iFieldList[KMaxSupportedFields] ; + /** + * Class member which contains module information which is used for location esitmation + */ + TPositionModuleInfo iModuleInfo ; };