wlansecuritysettings/wlaneapsettingsui/EapMschapv2/NotifierUi/inc/MsChapv2NotifDialog.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: Declaration of dialog class of MsChapv2NotifDialog.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MSCHAPV2DIALOG_H__
       
    21 #define __MSCHAPV2DIALOG_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include <eikdialg.h>
       
    25 #include <badesca.h>
       
    26 #include <e32cons.h>
       
    27 #include <AknForm.h>
       
    28 #include <AknQueryDialog.h>
       
    29 #include "MsChapv2NotifDlgPlugin.h"
       
    30 
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 */
       
    36 class CMsChapv2Dialog : public CAknMultiLineDataQueryDialog
       
    37     {
       
    38     protected:
       
    39         CMsChapv2Dialog( CMsChapv2DialogPlugin* aPlugin, 
       
    40                          TBool aUsernameExists );
       
    41         void ConstructL();
       
    42 
       
    43     public:
       
    44         static CMsChapv2Dialog* NewL( TDes& aUsername, TDes& aPassword, 
       
    45                                       CMsChapv2DialogPlugin*  aPlugin );
       
    46         ~CMsChapv2Dialog();
       
    47 
       
    48     private:
       
    49         virtual TBool OkToExitL( TInt aButtonId );
       
    50         void HandleResourceChange( TInt aType );
       
    51         
       
    52     private:
       
    53         CMsChapv2DialogPlugin* iPlugin;     // Pointer to the notifier plugin
       
    54         TBool iUsernameExists;
       
    55     };
       
    56 
       
    57 #endif  // __MSCHAPV2DIALOG_H__
       
    58 
       
    59 // End of File