phoneclientserver/CallUI/Inc/CaUiEngine/CaUiQuery.h
changeset 0 ff3b6d0fd310
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phoneclientserver/CallUI/Inc/CaUiEngine/CaUiQuery.h	Tue Feb 02 01:11:09 2010 +0200
@@ -0,0 +1,77 @@
+/*
+* Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Defines the query used in CallUI to ask call type from user.
+*
+*/
+
+
+#ifndef CAUIQUERY_H
+#define CAUIQUERY_H
+
+
+//  INCLUDES
+#include <aknlistquerydialog.h> 
+
+
+
+// CLASS DECLARATION
+
+/**
+*  Defines create list query that is used in CaUiEngine to ask 
+*  call type confirmation from user.
+*
+*  @lib CaUiEngine.lib
+*  @since 2.6
+*/
+NONSHARABLE_CLASS( CCaUiCreateListQuery )
+    : public CAknListQueryDialog
+    {
+    public:  // Constructors and destructor
+        
+        /**
+        * C++ constructor.
+        * 
+        * @param aIndex After the query is dismissed, the index will hold
+        *               the value of selected item.
+        */
+        CCaUiCreateListQuery( TInt* aIndex );
+        
+        /**
+        * Destructor.
+        */
+        ~CCaUiCreateListQuery();
+
+
+    public: // Functions from base classes
+
+        /**
+        * Loaded version to enable Send key handling.
+        * 
+        * @see CAknListQueryDialog::OfferKeyEventL.
+        */
+        TKeyResponse OfferKeyEventL(
+            const TKeyEvent& aKeyEvent,
+            TEventCode aType );
+            
+    private: //data
+
+        /**
+         * Flag indicating the validity of the received key event.
+         */
+        TBool iValidKeyEvent;
+    };
+
+#endif      // CAUIQUERY_H 
+            
+// End of File