wlanutilities/wlanwizard/inc/wlanwizard.h
changeset 58 301aeb18ae47
parent 56 de27cc8389dd
equal deleted inserted replaced
56:de27cc8389dd 58:301aeb18ae47
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description: 
    15 * WLAN Wizard API
    15 * WLAN Wizard API.
    16 */
    16 */
    17 
    17 
    18 #ifndef WLANWIZARD_H
    18 #ifndef WLANWIZARD_H
    19 #define WLANWIZARD_H
    19 #define WLANWIZARD_H
    20 
    20 
    21 // System includes
    21 // System includes
       
    22 
    22 #include <QObject>
    23 #include <QObject>
       
    24 #include <QString>
       
    25 #include <QByteArray>
    23 
    26 
    24 // User includes
    27 // User includes
    25 
    28 
    26 // Forward declarations
    29 // Forward declarations
       
    30 
    27 class HbMainWindow;
    31 class HbMainWindow;
    28 class WlanWizardPrivate;
    32 class WlanWizardPrivate;
    29 class TestWlanWizardContext;
    33 class TestWlanWizardContext;
    30 
    34 
    31 // External data types
    35 // External data types
    32 
    36 
    33 // Constants
    37 // Constants
       
    38 
    34 #ifdef BUILD_WLAN_WIZARD_DLL
    39 #ifdef BUILD_WLAN_WIZARD_DLL
    35 #define WLAN_WIZARD_EXPORT Q_DECL_EXPORT
    40 #define WLAN_WIZARD_EXPORT Q_DECL_EXPORT
    36 #else
    41 #else
    37 #define WLAN_WIZARD_EXPORT Q_DECL_IMPORT
    42 #define WLAN_WIZARD_EXPORT Q_DECL_IMPORT
    38 #endif
    43 #endif
    48 public:
    53 public:
    49     explicit WlanWizard(HbMainWindow *mainWindow);
    54     explicit WlanWizard(HbMainWindow *mainWindow);
    50     ~WlanWizard();
    55     ~WlanWizard();
    51 
    56 
    52     void setParameters(
    57     void setParameters(
    53         const QString &ssid,
    58         const QString &name, 
       
    59         const QByteArray &ssid, 
    54         int networkMode,
    60         int networkMode,
    55         int securityMode,
    61         int securityMode,
    56         bool usePsk,
    62         bool usePsk,
    57         bool wps);
    63         bool wps);
    58 
    64