wlanutilities/wpswizard/inc/wpswizard.h
changeset 37 195ec9e7dd85
parent 33 f54b8905a6ee
equal deleted inserted replaced
33:f54b8905a6ee 37:195ec9e7dd85
     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 the License "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: 
       
    15  *   WPS Wizard API
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * %version: 1 %
       
    21  */
       
    22 
       
    23 
       
    24 #ifndef WPSWIZARD_H_
       
    25 #define WPSWIZARD_H_
       
    26 
       
    27 
       
    28 
       
    29 #include <qobject.h>
       
    30 #include "wlanwizardplugin.h"
       
    31 
       
    32 #ifdef BUILD_WPS_WIZARD_DLL
       
    33 #define WPS_WIZARD_EXPORT Q_DECL_EXPORT
       
    34 #else
       
    35 #define WPS_WIZARD_EXPORT Q_DECL_IMPORT
       
    36 #endif
       
    37 
       
    38 class WlanWizardHelpper;
       
    39 class WpsWizardPrivate;
       
    40 
       
    41 
       
    42 /*!
       
    43  * @addtogroup group_
       
    44  * @{
       
    45  */
       
    46 
       
    47 class WPS_WIZARD_EXPORT WpsWizard: public QObject, public WlanWizardPlugin
       
    48 {
       
    49 private:
       
    50     Q_OBJECT
       
    51     friend class WpsWizardPrivate;
       
    52 public:
       
    53     enum BearerType
       
    54     {
       
    55         BearerTypeWlan,
       
    56     };
       
    57 public:
       
    58     WpsWizard(
       
    59         WlanWizardHelpper *wizardHelpper,
       
    60         BearerType bearerType, int referenceId);
       
    61     ~WpsWizard();
       
    62 
       
    63     void storeSettings();
       
    64     
       
    65 public: // From WlanWizardPlugin
       
    66     bool summary(WlanWizardPlugin::Summary sum, QString &item, QString &value);
       
    67 
       
    68     
       
    69 
       
    70 private:
       
    71     Q_DISABLE_COPY(WpsWizard)
       
    72     WpsWizardPrivate *d_ptr;
       
    73 };
       
    74 
       
    75 /*! @} */
       
    76 
       
    77 
       
    78 
       
    79 
       
    80 #endif /* WPSWIZARD_H_ */