phoneclientserver/callui/inc/cauiengine/cauiquery.h
author hgs
Wed, 21 Jul 2010 18:26:52 +0300
changeset 33 8d5d7fcf9b59
permissions -rw-r--r--
201027
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies). 
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  Defines the query used in CallUI to ask call type from user.
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
hgs
parents:
diff changeset
    19
#ifndef CAUIQUERY_H
hgs
parents:
diff changeset
    20
#define CAUIQUERY_H
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
hgs
parents:
diff changeset
    23
//  INCLUDES
hgs
parents:
diff changeset
    24
#include <aknlistquerydialog.h> 
hgs
parents:
diff changeset
    25
hgs
parents:
diff changeset
    26
hgs
parents:
diff changeset
    27
hgs
parents:
diff changeset
    28
// CLASS DECLARATION
hgs
parents:
diff changeset
    29
hgs
parents:
diff changeset
    30
/**
hgs
parents:
diff changeset
    31
*  Defines create list query that is used in CaUiEngine to ask 
hgs
parents:
diff changeset
    32
*  call type confirmation from user.
hgs
parents:
diff changeset
    33
*
hgs
parents:
diff changeset
    34
*  @lib CaUiEngine.lib
hgs
parents:
diff changeset
    35
*  @since 2.6
hgs
parents:
diff changeset
    36
*/
hgs
parents:
diff changeset
    37
NONSHARABLE_CLASS( CCaUiCreateListQuery )
hgs
parents:
diff changeset
    38
    : public CAknListQueryDialog
hgs
parents:
diff changeset
    39
    {
hgs
parents:
diff changeset
    40
    public:  // Constructors and destructor
hgs
parents:
diff changeset
    41
        
hgs
parents:
diff changeset
    42
        /**
hgs
parents:
diff changeset
    43
        * C++ constructor.
hgs
parents:
diff changeset
    44
        * 
hgs
parents:
diff changeset
    45
        * @param aIndex After the query is dismissed, the index will hold
hgs
parents:
diff changeset
    46
        *               the value of selected item.
hgs
parents:
diff changeset
    47
        */
hgs
parents:
diff changeset
    48
        CCaUiCreateListQuery( TInt* aIndex );
hgs
parents:
diff changeset
    49
        
hgs
parents:
diff changeset
    50
        /**
hgs
parents:
diff changeset
    51
        * Destructor.
hgs
parents:
diff changeset
    52
        */
hgs
parents:
diff changeset
    53
        ~CCaUiCreateListQuery();
hgs
parents:
diff changeset
    54
hgs
parents:
diff changeset
    55
hgs
parents:
diff changeset
    56
    public: // Functions from base classes
hgs
parents:
diff changeset
    57
hgs
parents:
diff changeset
    58
        /**
hgs
parents:
diff changeset
    59
        * Loaded version to enable Send key handling.
hgs
parents:
diff changeset
    60
        * 
hgs
parents:
diff changeset
    61
        * @see CAknListQueryDialog::OfferKeyEventL.
hgs
parents:
diff changeset
    62
        */
hgs
parents:
diff changeset
    63
        TKeyResponse OfferKeyEventL(
hgs
parents:
diff changeset
    64
            const TKeyEvent& aKeyEvent,
hgs
parents:
diff changeset
    65
            TEventCode aType );
hgs
parents:
diff changeset
    66
            
hgs
parents:
diff changeset
    67
    private: //data
hgs
parents:
diff changeset
    68
hgs
parents:
diff changeset
    69
        /**
hgs
parents:
diff changeset
    70
         * Flag indicating the validity of the received key event.
hgs
parents:
diff changeset
    71
         */
hgs
parents:
diff changeset
    72
        TBool iValidKeyEvent;
hgs
parents:
diff changeset
    73
    };
hgs
parents:
diff changeset
    74
hgs
parents:
diff changeset
    75
#endif      // CAUIQUERY_H 
hgs
parents:
diff changeset
    76
            
hgs
parents:
diff changeset
    77
// End of File