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