|
1 /* |
|
2 * Copyright (c) 2010 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 plugin helper private class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef POSITIONINGSETTINGSPLUGIN_HELPERPRIVATE_H |
|
19 #define POSITIONINGSETTINGSPLUGIN_HELPERPRIVATE_H |
|
20 |
|
21 class PosSettingsPluginHelper; |
|
22 /** |
|
23 * PosSettingsPluginHelperPrivate is a class that provides helper functions: |
|
24 * To check if feature flag is On/Of |
|
25 * To check if any positioning PSY is visible |
|
26 */ |
|
27 class PosSettingsPluginHelperPrivate |
|
28 { |
|
29 private: |
|
30 |
|
31 /** |
|
32 * Returns whether any position psy is available. |
|
33 * @return true if any position psy is available, |
|
34 * false if it is not available. |
|
35 */ |
|
36 bool isPositionPsyAvailable(); |
|
37 |
|
38 /** |
|
39 * Returns whether feature flag is enabled. |
|
40 * @return true if feature flag is enabled, |
|
41 * false if it is not enabled. |
|
42 */ |
|
43 bool isFeatureFlagEnabled(); |
|
44 |
|
45 friend class PosSettingsPluginHelper; |
|
46 }; |
|
47 |
|
48 |
|
49 #endif /* POSITIONINGSETTINGSPLUGIN_HELPERPRIVATE_H_ */ |