00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00023 #ifndef RLBSLOCMONITORAREAPOSITIONER_H
00024 #define RLBSLOCMONITORAREAPOSITIONER_H
00025
00026 #include <lbspositioninfo.h>
00027 #include <lbsareainfo.h>
00028 #include "rlbslocmonitorsession.h"
00029 #include "lbslocmonitorserverdata.h"
00030 #include "clbslocmonitorptrholder.h"
00031
00041 class RLbsLocMonitorAreaPositioner : public RSecureSubSessionBase
00042 {
00043
00044 public:
00045
00046 IMPORT_C RLbsLocMonitorAreaPositioner();
00047 IMPORT_C void OpenL(RLbsLocMonitorSession& aLocMonSession);
00048 IMPORT_C void Close();
00049
00050
00051
00052
00053
00054
00055 IMPORT_C TInt SetLastKnownPosition(const TPositionInfoBase& aPosInfo) const;
00056
00057
00058 IMPORT_C void GetLastKnownPosition(TPositionInfoBase& aPosInfo,
00059 TRequestStatus& aStatus) const;
00060
00061
00062 IMPORT_C TInt CancelGetLastKnownPosition() const;
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078 IMPORT_C void GetLastKnownPositionArea(TPositionInfoBase& aPosInfo,
00079 TPositionAreaInfoBase& aAreaInfo,
00080 TPosAreaReqParams& aParameters,
00081 TRequestStatus& aStatus) const;
00082
00083
00084 IMPORT_C TInt CancelGetLastKnownPositionArea() const;
00085
00086
00087 protected:
00088
00089 IMPORT_C virtual void ConstructL();
00090 IMPORT_C virtual void Destruct();
00091
00092 private:
00093
00096 CLbsLocMonitorPtrHolder* iPtrHolder;
00097 };
00098
00099 #endif // RLBSLOCMONITORAREAPOSITIONER_H