imageeditor/ImageEditorUI/inc/CMultiLineQueryDialog.h
changeset 1 edfc90759b9f
equal deleted inserted replaced
0:57d4cdd99204 1:edfc90759b9f
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "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 * Ixonos Plc
       
    14 *
       
    15 * Description:
       
    16 *
       
    17 */
       
    18 #ifndef CMULTILINEQUERYDIALOG_H_
       
    19 #define CMULTILINEQUERYDIALOG_H_
       
    20 
       
    21 //  INCLUDES
       
    22 #include <AknQueryDialog.h>
       
    23 
       
    24 // CLASS DECLARATION
       
    25 
       
    26 /**
       
    27  *  Text query dialog that accepts multiple lines input.
       
    28  *  Wrapper for CAknTextQueryDialog 
       
    29  */
       
    30 class CMultiLineQueryDialog : public CAknTextQueryDialog
       
    31     {
       
    32     
       
    33     public:  // Constructors and destructor
       
    34 
       
    35         /**
       
    36          * Two-phased constructor.
       
    37          * @see CAknTextQueryDialog::NewL
       
    38          */
       
    39         IMPORT_C static CMultiLineQueryDialog* NewL( TDes& aDataText, 
       
    40                         const TTone& aTone = ENoTone );
       
    41         
       
    42         /**
       
    43          * Destructor.
       
    44          */
       
    45         ~CMultiLineQueryDialog();
       
    46 
       
    47     public: // Functions from base classes
       
    48         
       
    49         /**
       
    50          * Handle key events.
       
    51          * @see CAknTextQueryDialog
       
    52          */
       
    53         IMPORT_C TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, 
       
    54                                      			TEventCode aType );
       
    55         
       
    56     private:
       
    57 
       
    58         /**
       
    59          * C++ default constructor.
       
    60          * @see CAknTextQueryDialog::CAknTextQueryDialog
       
    61          */
       
    62     	CMultiLineQueryDialog( TDes& aDataText, const TTone& aTone = ENoTone );
       
    63         
       
    64     private: // Data    
       
    65     	
       
    66 
       
    67     };
       
    68 
       
    69 #endif /*CMULTILINEQUERYDIALOG_H_*/