|
1 /* |
|
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Positioning Settings implementation of Location UIs. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_LOCPOSSETTINGS_H_ |
|
20 #define C_LOCPOSSETTINGS_H_ |
|
21 |
|
22 // System Include |
|
23 #include <e32base.h> |
|
24 |
|
25 // User Includes |
|
26 #include "locationui.h" |
|
27 |
|
28 // Forward Declarations |
|
29 class CLocSysUiView; |
|
30 |
|
31 // Class Definition |
|
32 /** |
|
33 * Positioning Settings implementation of Location UIs. This class extends the |
|
34 * Location UI interface for Positioning Settings UI. |
|
35 * |
|
36 * @lib locsysuiview.lib |
|
37 * @since S60 v3.2 |
|
38 */ |
|
39 class CLocPosSettings : public CBase, |
|
40 public MLocationUI |
|
41 { |
|
42 public: |
|
43 /** |
|
44 * Two Phase Constructor. |
|
45 * |
|
46 * @return CLocPosSettings* Pointer to the created object. |
|
47 */ |
|
48 EXPORT_C static CLocPosSettings* NewL(); |
|
49 |
|
50 /** |
|
51 * Two Phase Constructor. The funcion leaves the CLocationSettings object |
|
52 * on the CleanupStack |
|
53 * |
|
54 * @return CLocPosSettings* Pointer to the created object. |
|
55 */ |
|
56 EXPORT_C static CLocPosSettings* NewLC(); |
|
57 |
|
58 /** |
|
59 * C++ Destructor |
|
60 */ |
|
61 virtual ~CLocPosSettings(); |
|
62 |
|
63 public: |
|
64 |
|
65 /** |
|
66 * Inherited from MLocationUI |
|
67 * |
|
68 */ |
|
69 void LaunchLocationUIL( TInt aUiInputParams, |
|
70 MLocationUIObserver* aObserver ); |
|
71 |
|
72 /** |
|
73 * Inherited from MLocationUI |
|
74 * |
|
75 */ |
|
76 void LaunchLocationUIL( const TDesC& aUiInputParams, |
|
77 MLocationUIObserver* aObserver ); |
|
78 |
|
79 /** |
|
80 * Inherited from MLocationUI |
|
81 * |
|
82 */ |
|
83 void Close(); |
|
84 |
|
85 private: |
|
86 /** |
|
87 * Overloaded constructor |
|
88 */ |
|
89 CLocPosSettings(); |
|
90 |
|
91 /** |
|
92 * Second phase of two phase construction |
|
93 */ |
|
94 void ConstructL(); |
|
95 |
|
96 private: |
|
97 /** |
|
98 * Postioning Settings View. The ownership lies with the App UI |
|
99 */ |
|
100 CLocSysUiView* iView; |
|
101 }; |
|
102 |
|
103 #endif // C_LOCPOSSETTINGS_H_ |
|
104 |