serviceproviders/sapi_location/locationservice/inc/locationservice.h
changeset 32 8d692d9f828f
parent 22 fc9cf246af83
child 50 5dae2c62e9b6
equal deleted inserted replaced
27:44bb89c96acb 32:8d692d9f828f
    38 _LIT8(KAltitudeKey , "Altitude") ;
    38 _LIT8(KAltitudeKey , "Altitude") ;
    39 _LIT8(KHorAccuracy,"HorizontalAccuracy");
    39 _LIT8(KHorAccuracy,"HorizontalAccuracy");
    40 _LIT8(KVerAccuracy,"VerticalAccuracy");
    40 _LIT8(KVerAccuracy,"VerticalAccuracy");
    41 
    41 
    42 _LIT(KUnknown,"Unknown");
    42 _LIT(KUnknown,"Unknown");
       
    43 const TInt KMaxSupportedFields = 25 ;
    43 
    44 
    44 /**
    45 /**
    45  * Default Update options
    46  * Default Update options
    46  */
    47  */
    47 //Second
    48 //Second
    55 
    56 
    56 //MaxAge
    57 //MaxAge
    57 const TInt KSMaxAge = 0;
    58 const TInt KSMaxAge = 0;
    58 const TInt KGetLocationReq = 0 ;
    59 const TInt KGetLocationReq = 0 ;
    59 const TInt KTraceReq   = 1 ;
    60 const TInt KTraceReq   = 1 ;
       
    61 const TInt errServiceNotReady = 1006;
    60 
    62 
    61 /**
    63 /**
    62  * Enums required for mathoperations
    64  * Enums required for mathoperations
    63  */
    65  */
    64 enum TMathOperationChoice
    66 enum TMathOperationChoice
   277 	      * Method to obtain the High Accuracy module out of the 
   279 	      * Method to obtain the High Accuracy module out of the 
   278 	      * currently available modules on the phone
   280 	      * currently available modules on the phone
   279 	      */
   281 	      */
   280 	     
   282 	     
   281 	     void GetHighAccuracyModuleL(TPositionModuleId* aModId);
   283 	     void GetHighAccuracyModuleL(TPositionModuleId* aModId);
       
   284          TInt SetSupportedFields() ; 
       
   285          TInt SetRequestingField();
   282 
   286 
   283 
   287 
   284 
   288 
   285     protected:
   289     protected:
   286 	    /**
   290 	    /**
   317 	    
   321 	    
   318 	    /**
   322 	    /**
   319 	     * Module indtifier used by location server for getting location information
   323 	     * Module indtifier used by location server for getting location information
   320 	     */
   324 	     */
   321 	    TPositionModuleId iModuleId ; 
   325 	    TPositionModuleId iModuleId ; 
       
   326 	    /**
       
   327          * Member variable which holds all the Generic position  information
       
   328          */
       
   329 
       
   330         HPositionGenericInfo *iGenericPosInfo ;
       
   331         /**
       
   332          * Class member which contains all the field ids of all the supported Hposition info fields
       
   333          */ 
       
   334 
       
   335         TPositionFieldId iFieldList[KMaxSupportedFields] ;
       
   336         /**
       
   337         * Class member which contains module information which is used for location esitmation
       
   338         */
       
   339        TPositionModuleInfo   iModuleInfo ;
   322 
   340 
   323     };
   341     };
   324 
   342 
   325 
   343 
   326 #endif // LOCATIONSERVICE_H
   344 #endif // LOCATIONSERVICE_H