wlansecuritysettings/wifiprotectedsetup/plugininc/wifiprotconfirmationnotedlg.h
branchRCL_3
changeset 46 c74b3d9f6b9e
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
       
     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 CWiFiProtConfirmationNoteDlg.
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: tr1cfwln#7 %
       
    20 */
       
    21 
       
    22 #ifndef C_WIFIPROTCONFIRMATIONNOTEDLG_H__
       
    23 #define C_WIFIPROTCONFIRMATIONNOTEDLG_H__
       
    24 
       
    25 // INCLUDES
       
    26 #include <AknQueryDialog.h>
       
    27 
       
    28 // CLASS DECLARATIONS
       
    29 
       
    30 /**
       
    31  * Class implements a query dialog.
       
    32  */
       
    33 NONSHARABLE_CLASS( CWiFiProtConfirmationNoteDlg ) : public CAknQueryDialog
       
    34     {
       
    35 public:
       
    36     /**
       
    37     * Constructor the CWiFiProtConfirmationNoteDlg class
       
    38     * @param aStatus TRequestStatus of the client,
       
    39     * gets completed when dialog finishes 
       
    40     * @return -
       
    41     */
       
    42     CWiFiProtConfirmationNoteDlg( TRequestStatus& aStatus );
       
    43    
       
    44     /**
       
    45     * Destructor
       
    46     */
       
    47     virtual ~CWiFiProtConfirmationNoteDlg();   
       
    48     
       
    49     /**
       
    50     * From @c MEikCommandObserver. 
       
    51     *
       
    52     * Acts on the menu selection if menu is showing 
       
    53     * @param aCommandId id of the command to process
       
    54     *
       
    55     * Responds to @c EAknSoftkeyOk and @c EAknSoftkeyYes and 
       
    56     * @c EAknSoftkeyDone and @c EWiFiSoftkeyContinue commands. 
       
    57     *
       
    58     * @since S60 3.0 
       
    59     */
       
    60     void ProcessCommandL( TInt aCommandId );  
       
    61 
       
    62 private:
       
    63 
       
    64     /**
       
    65     * Exit function the CWiFiProtConfirmationNoteDlg
       
    66     * @param aButtonId Button id which is checked before
       
    67     * deciding to exit or not
       
    68     * @return TBool exit or no
       
    69     */
       
    70     virtual TBool OkToExitL( TInt aButtonId );
       
    71 
       
    72     /**
       
    73     * PreLayoutDynInitL
       
    74     */
       
    75     virtual void PreLayoutDynInitL(); 
       
    76        
       
    77 private:
       
    78     // Client's request status, dialog completes it when it finished
       
    79     TRequestStatus& iRequestStatus;
       
    80     };
       
    81 
       
    82 
       
    83 #endif  // C_WIFIPROTCONFIRMATIONNOTEDLG_H__
       
    84 
       
    85 // End of File