email/imum/Mtms/Inc/ImumUsernameAndPasswordDialog.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2006 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: 
       
    15 *     CImumUsernameAndPasswordDialog declaration file.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef IMUMUSERNAMEANDPASSWORDDIALOG_H
       
    22 #define IMUMUSERNAMEANDPASSWORDDIALOG_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <AknQueryDialog.h>
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  CImumUsernameAndPasswordDialog
       
    32 *  Need to override this so that if username is filled then cursor should be
       
    33 *  on password field when opening the dialog
       
    34 */
       
    35 class CImumUsernameAndPasswordDialog : public CAknMultiLineDataQueryDialog
       
    36     {
       
    37     public:
       
    38         /**
       
    39         * Two-phased constructor.
       
    40         */
       
    41         static CImumUsernameAndPasswordDialog* NewL(
       
    42             TDes& aUsername, TDes& aPassword );
       
    43 
       
    44         /**
       
    45         * Destructor
       
    46         */
       
    47         ~CImumUsernameAndPasswordDialog();
       
    48 
       
    49     protected:
       
    50         /**
       
    51         * C++ constructor.
       
    52         */
       
    53         CImumUsernameAndPasswordDialog( TTone aTone = ENoTone );
       
    54 
       
    55 
       
    56     protected:
       
    57 
       
    58         /**
       
    59         * SetInitialCurrentLine function, CEikDialog
       
    60         */
       
    61         virtual void SetInitialCurrentLine();
       
    62 
       
    63     private:
       
    64         // none
       
    65     };
       
    66 
       
    67 #endif      // __IMUMUSERNAMEANDPASSWORDDIALOG_H
       
    68 
       
    69 // End of File