diff -r 30a5f517c615 -r b3d8f88532b7 wlanutilities/wpswizard/inc/wpswizard.h --- a/wlanutilities/wpswizard/inc/wpswizard.h Fri Jun 11 16:27:29 2010 +0100 +++ b/wlanutilities/wpswizard/inc/wpswizard.h Thu Jul 22 16:44:32 2010 +0100 @@ -2,7 +2,7 @@ * 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 the License "Eclipse Public License v1.0" + * 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". * @@ -16,65 +16,69 @@ * */ -/* - * %version: 1 % - */ - - #ifndef WPSWIZARD_H_ #define WPSWIZARD_H_ +// System includes +#include -#include +// User includes #include "wlanwizardplugin.h" +// Forward declarations +class WlanWizardHelper; +class WpsWizardPrivate; + +// External data types +// Constants + + +//Export Declaration #ifdef BUILD_WPS_WIZARD_DLL #define WPS_WIZARD_EXPORT Q_DECL_EXPORT #else #define WPS_WIZARD_EXPORT Q_DECL_IMPORT #endif -class WlanWizardHelpper; -class WpsWizardPrivate; - - /*! - * @addtogroup group_ + * @addtogroup group_wps_wizard_plugin * @{ */ +// Class declaration class WPS_WIZARD_EXPORT WpsWizard: public QObject, public WlanWizardPlugin { -private: Q_OBJECT - friend class WpsWizardPrivate; + public: - enum BearerType - { - BearerTypeWlan, - }; -public: - WpsWizard( - WlanWizardHelpper *wizardHelpper, - BearerType bearerType, int referenceId); + + explicit WpsWizard( WlanWizardHelper *wizardHelper); ~WpsWizard(); - void storeSettings(); - -public: // From WlanWizardPlugin - bool summary(WlanWizardPlugin::Summary sum, QString &item, QString &value); +signals: + +public slots: - +protected: + +protected slots: private: + Q_DISABLE_COPY(WpsWizard) - WpsWizardPrivate *d_ptr; + +private slots: + +private: + + //data + + //! pointer to the private implementation class. + QScopedPointer d_ptr; + + friend class WpsWizardPrivate; + friend class TestWlanWizardContext; }; -/*! @} */ - - - - #endif /* WPSWIZARD_H_ */