locationmanager/locationtrail/inc/cpositioninfo.h
branchRCL_3
changeset 63 e538444823de
parent 47 b73252188534
equal deleted inserted replaced
57:2872ae438bf7 63:e538444823de
    80      * @since S60 3.1
    80      * @since S60 3.1
    81      * @param None.
    81      * @param None.
    82      * @return None.
    82      * @return None.
    83      */    
    83      */    
    84     void Stop();
    84     void Stop();
    85     
    85         
    86     /**
       
    87      * Handle remap completed event
       
    88      * @since S60 9.2
       
    89      */    
       
    90     void HandleRemapComplete();    
       
    91 protected:
    86 protected:
    92     /**
    87     /**
    93      * Run error implementation in case of RunL leaving.
    88      * Run error implementation in case of RunL leaving.
    94      * @since S60 3.1
    89      * @since S60 3.1
    95      */
    90      */
   116     * From CActive.
   111     * From CActive.
   117     */        
   112     */        
   118     void RunL(); 
   113     void RunL(); 
   119 
   114 
   120 private:
   115 private:
   121     typedef enum
       
   122         {
       
   123         EPositionOptStateNone = 0x00,
       
   124         EPositionOptStateGetLastKnownPosition,
       
   125         EPositionOptStateNotifyUpdate
       
   126         }TPositionOptState;
       
   127     /**
   116     /**
   128      * An observer interface to set current position to the location trail.
   117      * An observer interface to set current position to the location trail.
   129      * Not own.
   118      * Not own.
   130      */
   119      */
   131     MPositionInfoObserver* iTrail;
   120     MPositionInfoObserver* iTrail;
   146     TPositionUpdateOptions iUpdateOptions;
   135     TPositionUpdateOptions iUpdateOptions;
   147     RLocationTrail::TTrailCaptureSetting   iTrailCaptureSetting;
   136     RLocationTrail::TTrailCaptureSetting   iTrailCaptureSetting;
   148     
   137     
   149     TInt iUpdateInterval;
   138     TInt iUpdateInterval;
   150     
   139     
   151     TPositionOptState iState;
   140     TBool iFirstInterval;
   152     TBool iConnectedPositionServer;
       
   153     };
   141     };
   154 
   142 
   155 #endif // C_CPOSITIONINFO_H
   143 #endif // C_CPOSITIONINFO_H
   156 
   144 
   157 // End of file.
   145 // End of file.