wlanutilities/wlanwizard/inc/wlanwizard.h
author hgs
Mon, 23 Aug 2010 13:30:09 +0300
changeset 53 bdc64aa9b954
parent 39 7b3e49e4608a
child 58 301aeb18ae47
permissions -rw-r--r--
201033

/*
* 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: 
* WLAN Wizard API
*/

#ifndef WLANWIZARD_H
#define WLANWIZARD_H

// System includes
#include <QObject>

// User includes

// Forward declarations
class HbMainWindow;
class WlanWizardPrivate;
class TestWlanWizardContext;

// External data types

// Constants
#ifdef BUILD_WLAN_WIZARD_DLL
#define WLAN_WIZARD_EXPORT Q_DECL_EXPORT
#else
#define WLAN_WIZARD_EXPORT Q_DECL_IMPORT
#endif

/*!
   @addtogroup group_wlan_wizard_api
   @{
 */
class WLAN_WIZARD_EXPORT WlanWizard: public QObject
{
    Q_OBJECT

public:
    explicit WlanWizard(HbMainWindow *mainWindow);
    ~WlanWizard();

    void setParameters(
        const QString &ssid,
        int networkMode,
        int securityMode,
        bool usePsk,
        bool wps);

signals:
    void cancelled();
    void finished(int iapId, bool connected);
        
public slots:
    void show();

protected:

protected slots:

private:
    Q_DISABLE_COPY(WlanWizard)

private slots:
    
private:
    //! Pointer to private implementation
    WlanWizardPrivate *d_ptr;
    
    // Friend classes
    friend class WlanWizardPrivate;
    friend class TestWlanWizardContext;    
};

/*! @} */

#endif // WLANWIZARD_H