phonebookui/Phonebook2/inc/CPbk2PrependDlg.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Phonebook 2 prepend dialog.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPBK2PREPENDDLG_H
       
    20 #define CPBK2PREPENDDLG_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <AknQueryDialog.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  * Phonebook 2 prepend dialog.
       
    29  */
       
    30 class CPbk2PrependDlg : public CAknTextQueryDialog
       
    31     {
       
    32     public:  // Constructors and destructor
       
    33 
       
    34         /**
       
    35          * Creates a new instance of this class.
       
    36          *
       
    37          * @param aDataText     Data text.
       
    38          * @return  A new instance of this class.
       
    39          */
       
    40         IMPORT_C static CPbk2PrependDlg* NewL(
       
    41                 TDes& aDataText );
       
    42 
       
    43         /**
       
    44          * Destructor.
       
    45          */
       
    46         ~CPbk2PrependDlg();
       
    47 
       
    48     public: // From CAknTextQueryDialog
       
    49         TBool OkToExitL(
       
    50                 TInt aButtonId );
       
    51         TKeyResponse OfferKeyEventL(
       
    52                 const TKeyEvent& aKeyEvent,
       
    53                 TEventCode aType );
       
    54 
       
    55     private: // Implementation
       
    56         CPbk2PrependDlg(
       
    57                 TDes& aDataText );
       
    58     };
       
    59 
       
    60 #endif // CPBK2PREPENDDLG_H
       
    61 
       
    62 // End of File