wlansecuritysettings/wifiprotectedsetup/plugininc/wifiprotenterpindlg.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2001-2009 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: Implementation of class CWiFiProtEnterPinDlg.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_WIFIPROTENTERPINDLG_H
       
    20 #define C_WIFIPROTENTERPINDLG_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <AknQueryDialog.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class MActiveRunnerCallback;
       
    27 
       
    28 // CLASS DECLARATIONS
       
    29 
       
    30 /**
       
    31  * Class implements a query dialog.
       
    32  */
       
    33 NONSHARABLE_CLASS( CWiFiProtEnterPinDlg ) : public CAknQueryDialog
       
    34     {
       
    35 public:
       
    36     /**
       
    37     * Constructor of the CWiFiProtEnterPinDlg class
       
    38     * @param MActiveRunnerCallback& aActiveRunnerCallback callback to
       
    39     * notify the client of user response
       
    40     * Active Runner gets completed when the dialog finishes 
       
    41     */
       
    42     CWiFiProtEnterPinDlg( MActiveRunnerCallback& aActiveRunnerCallback );
       
    43 
       
    44    
       
    45     /**
       
    46     * Destructor
       
    47     */
       
    48     virtual ~CWiFiProtEnterPinDlg();   
       
    49     
       
    50     /**
       
    51     * From @c MEikCommandObserver. 
       
    52     *
       
    53     * Acts on the menu selection if menu is showing 
       
    54     * @param aCommandId id of the command to process
       
    55     *
       
    56     * Responds to @c EAknSoftkeyOk and @c EAknSoftkeyYes and 
       
    57     * @c EAknSoftkeyDone and @c EWiFiSoftkeyContinue
       
    58     * @c EAknSoftkeyEmpty commands. 
       
    59     *
       
    60     * @since S60 3.0 
       
    61     */
       
    62     void ProcessCommandL( TInt aCommandId );  
       
    63     
       
    64     /*
       
    65     * Removes Cancel softkey
       
    66     */
       
    67     void RemoveCancel();    
       
    68 
       
    69 private:
       
    70 
       
    71     /**
       
    72     * Exit function the CWiFiProtConfirmationNoteDlg
       
    73     * @param aButtonId 
       
    74     * @return TBool exit or no
       
    75     */
       
    76     virtual TBool OkToExitL( TInt aButtonId );
       
    77 
       
    78     /**
       
    79     * PreLayoutDynInitL
       
    80     * @param    -
       
    81     */
       
    82     virtual void PreLayoutDynInitL();    
       
    83 private:
       
    84     // Client's request status, dialog completes it when it finished
       
    85     MActiveRunnerCallback& iActiveRunnerCallback;
       
    86     };
       
    87 
       
    88 
       
    89 #endif  // C_WIFIPROTENTERPINDLG_H
       
    90 
       
    91 // End of File