serviceproviders/sapi_location/inc/locationinterface.h
changeset 32 8d692d9f828f
parent 22 fc9cf246af83
child 33 50974a8b132e
equal deleted inserted replaced
27:44bb89c96acb 32:8d692d9f828f
    24 #include "locationservice.h"
    24 #include "locationservice.h"
    25 #include "serviceerrno.h"
    25 #include "serviceerrno.h"
    26 
    26 
    27 
    27 
    28 // CONSTANTS
    28 // CONSTANTS
    29 const TInt KMaxSupportedFields = 25 ;
       
    30 
    29 
    31 
    30 
    32 
    31 
    33 //Second
    32 //Second
    34 const TInt KLocSecond = 1000000;
    33 const TInt KLocSecond = 1000000;
   269     /**
   268     /**
   270      * Internal utility function which fills iGenericPosinfo  accoriding to capability of 
   269      * Internal utility function which fills iGenericPosinfo  accoriding to capability of 
   271      * Positioning module used for location estimation
   270      * Positioning module used for location estimation
   272      */	            
   271      */	            
   273     	            
   272     	            
   274     TInt SetSupportedFields() ;  
       
   275 
   273 
   276     /**
   274     /**
   277      * Internal utility function which gets all location information which module supports
   275      * Internal utility function which gets all location information which module supports
   278      *
   276      *
   279      * @param aOutParamList output list which is populated with location informatio
   277      * @param aOutParamList output list which is populated with location informatio
   294      */
   292      */
   295     RPointerArray<LocationInterfaceCB> iHandleCB; 
   293     RPointerArray<LocationInterfaceCB> iHandleCB; 
   296     
   294     
   297 
   295 
   298     /**
   296     /**
   299      * Member variable which holds all the Generic position  information
       
   300      */
       
   301 
       
   302     HPositionGenericInfo *iGenericPosInfo ;
       
   303 
       
   304     /**
       
   305      * Class member which contains module information which is used for location esitmation
       
   306      */
       
   307     TPositionModuleInfo   iModuleInfo ;
       
   308     /**
       
   309      * Class member which is used to obtain updates of Last Known Position
   297      * Class member which is used to obtain updates of Last Known Position
   310      */
   298      */
   311     TPosition iPosition;
   299     TPosition iPosition;
   312 
   300     /**
   313     /**
   301      * Generic position class
   314      * Class member which contains all the field ids of all the supported Hposition info fields
   302      */
   315      */ 
   303     HPositionGenericInfo *iGenericPosition;
   316 
       
   317     TPositionFieldId iFieldList[KMaxSupportedFields] ;
       
   318 
       
   319 
       
   320 
   304 
   321     };
   305     };
   322 
   306 
   323 
   307 
   324 #endif //C_LOCINTERFACE_H
   308 #endif //C_LOCINTERFACE_H