cmmanager/cmmgr/Framework/Inc/cmpluginmultilinedialog.h
changeset 20 9c97ad6591ae
parent 18 fcbbe021d614
child 21 b8e8e15e80f2
child 23 7ec726f93df1
child 28 860702281757
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
     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:  Declaration of class CCmPluginMultiLineDialog.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CM_PLUGIN_MULTILINE_DIALOG_H
       
    19 #define CM_PLUGIN_MULTILINE_DIALOG_H
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include <AknQueryDialog.h>
       
    23 
       
    24 /**
       
    25  *  A new class to extend the functionality of the existing 
       
    26  *  CAKnMultiLineIpQueryDialog to be able to accept 0 length settings...
       
    27  *  Nothing else is changed.
       
    28  *
       
    29  *  @lib cmmanager.lib
       
    30  *  @since S60 v3.2
       
    31  */
       
    32 NONSHARABLE_CLASS( CCmPluginMultiLineDialog ) : 
       
    33                     public CAknMultiLineDataQueryDialog
       
    34     {
       
    35     public:
       
    36 
       
    37         /**
       
    38         * Multiline data query dialog, 2 lines
       
    39         * @param aText1 Text1
       
    40         * @param aText2 Text2
       
    41         * @param aTone Tone 
       
    42         * @return A constructed CCmPluginMultiLineDialog
       
    43         */
       
    44        IMPORT_C static CCmPluginMultiLineDialog* NewL(
       
    45                             TDes&  aText1, TDes&  aText2, 
       
    46                             TTone aTone = ENoTone);
       
    47 
       
    48     protected:
       
    49 
       
    50         /**
       
    51         * If the query text is ok (retrieved form query controls) then 
       
    52         * display the left soft key, otherwise hide it.
       
    53         */
       
    54         void UpdateLeftSoftKeyL();
       
    55 
       
    56     private:
       
    57 
       
    58         /**
       
    59         * Constructor
       
    60         * @param aTone Tone
       
    61         */
       
    62         CCmPluginMultiLineDialog( const TTone& aTone );
       
    63     };
       
    64 
       
    65 #endif