|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // This is the header file which contains the test version of a intergration module |
|
15 // |
|
16 |
|
17 //! @file dummyagpsmodule.h |
|
18 |
|
19 #ifndef __DUMMY_AGPS_MODULE_H__ |
|
20 #define __DUMMY_AGPS_MODULE_H__ |
|
21 |
|
22 |
|
23 // Epoc includes |
|
24 |
|
25 // LBS includes |
|
26 #include <lbs.h> |
|
27 #include <lbscommon.h> |
|
28 #include <lbspositioninfo.h> |
|
29 #include <lbs/lbslocdatasourcegpsbase.h> |
|
30 |
|
31 class CDummyAGpsModule : public CLbsLocationSourceGpsBase |
|
32 { |
|
33 public: |
|
34 static CLbsLocationSourceGpsBase* NewL(MLbsLocationSourceGpsObserver& aObserver); |
|
35 ~CDummyAGpsModule(); |
|
36 |
|
37 // CLbsLocationSourceGpsBase functions. |
|
38 void RequestLocationUpdate(const TTime& aTargetTime, const TLbsLocRequestQuality& aQuality); |
|
39 void CancelLocationRequest(); |
|
40 void AdvisePowerMode(CLbsLocationSourceGpsBase::TPowerMode aMode); |
|
41 void SetGpsOptions(const TLbsGpsOptions& aGpsOptions); |
|
42 void AssistanceDataEvent(TInt aError, TLbsAsistanceDataGroup aDataMask); |
|
43 |
|
44 |
|
45 private: |
|
46 CDummyAGpsModule(MLbsLocationSourceGpsObserver& aObserver); |
|
47 void ConstructL(); |
|
48 |
|
49 private: |
|
50 }; |
|
51 |
|
52 #endif //__DUMMY_AGPS_MODULE_H__ |
|
53 |