phoneclientserver/callui/inc/cauiengine/cauiquery.h
changeset 51 12bc758d6a02
parent 48 78df25012fda
child 53 25b8d29b7c59
equal deleted inserted replaced
48:78df25012fda 51:12bc758d6a02
     1 /*
       
     2 * Copyright (c) 2004-2005 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:  Defines the query used in CallUI to ask call type from user.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CAUIQUERY_H
       
    20 #define CAUIQUERY_H
       
    21 
       
    22 
       
    23 //  INCLUDES
       
    24 #include <aknlistquerydialog.h> 
       
    25 
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  Defines create list query that is used in CaUiEngine to ask 
       
    32 *  call type confirmation from user.
       
    33 *
       
    34 *  @lib CaUiEngine.lib
       
    35 *  @since 2.6
       
    36 */
       
    37 NONSHARABLE_CLASS( CCaUiCreateListQuery )
       
    38     : public CAknListQueryDialog
       
    39     {
       
    40     public:  // Constructors and destructor
       
    41         
       
    42         /**
       
    43         * C++ constructor.
       
    44         * 
       
    45         * @param aIndex After the query is dismissed, the index will hold
       
    46         *               the value of selected item.
       
    47         */
       
    48         CCaUiCreateListQuery( TInt* aIndex );
       
    49         
       
    50         /**
       
    51         * Destructor.
       
    52         */
       
    53         ~CCaUiCreateListQuery();
       
    54 
       
    55 
       
    56     public: // Functions from base classes
       
    57 
       
    58         /**
       
    59         * Loaded version to enable Send key handling.
       
    60         * 
       
    61         * @see CAknListQueryDialog::OfferKeyEventL.
       
    62         */
       
    63         TKeyResponse OfferKeyEventL(
       
    64             const TKeyEvent& aKeyEvent,
       
    65             TEventCode aType );
       
    66             
       
    67     private: //data
       
    68 
       
    69         /**
       
    70          * Flag indicating the validity of the received key event.
       
    71          */
       
    72         TBool iValidKeyEvent;
       
    73     };
       
    74 
       
    75 #endif      // CAUIQUERY_H 
       
    76             
       
    77 // End of File