wlanutilities/wpswizard/inc/wpswizardstepfour_p.h
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     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 "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: WPS Wizard: Wrapper for middleware calls 
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef WPSWIZARDSTEPFOUR__P_H_
       
    19 #define WPSWIZARDSTEPFOUR__P_H_
       
    20 
       
    21 // System includes
       
    22 
       
    23 // User includes
       
    24 #include "wpswizardstepfour.h"
       
    25 
       
    26 // Forward declarations
       
    27 class MWpsActiveRunnerCallback;
       
    28 class CWpsActiveRunner;
       
    29 
       
    30 
       
    31 // External data types
       
    32 // Constants
       
    33 
       
    34 /*!
       
    35  * @addtogroup group_wps_wizard_plugin
       
    36  * @{
       
    37  */
       
    38 
       
    39 // Class declaration
       
    40 class WpsPageStepFourPrivate : public MWpsActiveRunnerCallback
       
    41     {
       
    42 public:
       
    43     
       
    44     explicit WpsPageStepFourPrivate(WpsPageStepFour* pageStepFour);
       
    45        ~WpsPageStepFourPrivate();
       
    46  
       
    47     /*!
       
    48      * From mwpsactiverunnercallback.h
       
    49      * This method is called from the active runner class to notify the end
       
    50      * of operation
       
    51      */
       
    52     void WpsActiveRunnerStopped(
       
    53             QList<TWlanProtectedSetupCredentialAttribute>& aCredentials,
       
    54             TInt aError);
       
    55     
       
    56     void StartSetup(QString ssid,int pin);
       
    57     
       
    58     void Cancel();
       
    59        
       
    60 
       
    61 protected:
       
    62 
       
    63 private: // data
       
    64 
       
    65     //! C-Class implementation of the WPS setup functionality.
       
    66     QScopedPointer<CWpsActiveRunner> mWpsActiveRunner;
       
    67     //! Pointer to the WpsPageStepFour object
       
    68     WpsPageStepFour* q_ptr;
       
    69     
       
    70     friend class TestWlanWizardContext;
       
    71     };
       
    72 
       
    73 #endif /* WPSWIZARDSTEPFOUR__P_H_ */