|
1 /* |
|
2 * Copyright (c) 2005 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: Responsible for launching positioning settings |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CBLIDLOCSETTINGSLAUNCHER_H |
|
19 #define CBLIDLOCSETTINGSLAUNCHER_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 #include <locsettingsuiclient.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 class CBlidMainControl; |
|
27 /** |
|
28 * CBlidLocSettingsLauncher class |
|
29 * This class is a wrapper for launching Position settings |
|
30 */ |
|
31 class CBlidLocSettingsLauncher : public CActive |
|
32 { |
|
33 private : // Constructors and destructor |
|
34 /** |
|
35 * C++ default constructor. |
|
36 */ |
|
37 CBlidLocSettingsLauncher(); |
|
38 |
|
39 public: |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 ~CBlidLocSettingsLauncher(); |
|
44 |
|
45 public: |
|
46 /** |
|
47 * Two-phased constructor. |
|
48 * |
|
49 */ |
|
50 static CBlidLocSettingsLauncher* NewL(); |
|
51 |
|
52 private: |
|
53 /** |
|
54 * Second phase of construction. |
|
55 */ |
|
56 void ConstructL(); |
|
57 |
|
58 public: // new functions |
|
59 void LaunchL(); |
|
60 void SetControl( CBlidMainControl* aControl ); |
|
61 |
|
62 protected: // from CActive |
|
63 void RunL(); |
|
64 |
|
65 void DoCancel(); |
|
66 |
|
67 void CancelRequest(); |
|
68 |
|
69 private: |
|
70 // Pointer to Location setings client library |
|
71 CLocSettingsUiClient* iClientLibrary; |
|
72 CBlidMainControl* iControl; |
|
73 }; |
|
74 |
|
75 #endif // CBLIDLOCSETTINGSLAUNCHER_H |
|
76 |
|
77 // End of file |