locationsystemui/locationsysui/possettings/possettingsplugin/inc/possettingspluginhelper.h
changeset 25 73f6c2762ffe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationsystemui/locationsysui/possettings/possettingsplugin/inc/possettingspluginhelper.h	Thu May 27 13:18:17 2010 +0300
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Positioning settings plugin helper class. 
+*
+*/
+
+#ifndef POSITIONINGSETTINGSPLUGIN_HELPER_H
+#define POSITIONINGSETTINGSPLUGIN_HELPER_H
+
+#include <qglobal.h>
+
+class PosSettingsPluginHelperPrivate;
+/**
+ * PosSettingsPluginHelper is a class that provides helper functions:
+ * To check if feature flag is On/Of
+ * To check if any positioning PSY is visible
+ */
+class PosSettingsPluginHelper
+    {
+public:
+
+
+    /**
+     * Constructor 
+     */
+    PosSettingsPluginHelper();
+
+    /**
+     * Destructor
+     */
+    ~PosSettingsPluginHelper();
+        
+    /**
+     * Returns whether any position psy is available.
+     * @return true if any position psy is available,
+     *         false if it is not available.
+     */
+    bool isPositionPsyAvailable();
+    
+     /**
+     * Returns whether feature flag is enabled.
+     * @return true if feature flag is enabled,
+     *         false if it is not enabled.
+     */
+    bool isFeatureFlagEnabled();
+    
+private:      
+    Q_DECLARE_PRIVATE(PosSettingsPluginHelper)
+protected:
+		PosSettingsPluginHelperPrivate* const d_ptr;   
+    };
+
+
+#endif /* POSITIONINGSETTINGSPLUGIN_HELPER_H */