locationsystemui/locationsysui/possettings/possettingsplugin/inc/possettingspluginhelper.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:37:04 +0300
branchRCL_3
changeset 44 2b4ea9893b66
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* 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 */