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