phonesrv_plat/callui_reconnect_query_api/inc/ccauireconnectquery.h
changeset 0 ff3b6d0fd310
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonesrv_plat/callui_reconnect_query_api/inc/ccauireconnectquery.h	Tue Feb 02 01:11:09 2010 +0200
@@ -0,0 +1,81 @@
+/*
+* Copyright (c) 2007 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:  Shows the reconnect query used in CallUI.
+*
+*/
+
+
+#ifndef CCAUIRECONNECTQUERY_H
+#define CCAUIRECONNECTQUERY_H
+
+//  INCLUDES
+#include <e32base.h>
+
+// FORWARD DECLARATIONS
+class MCaUiReconnectQueryObserver;
+
+
+// CLASS DECLARATION
+class CCaUiReconnectQuery : public CBase
+    {
+    public:  // Constructors and destructor
+ 
+        /**
+        * Create an instance that implements the interface.
+        *
+        * @param aObserver It is the observer for the instance.
+        * @return Returns the created instance.
+        */
+        IMPORT_C static CCaUiReconnectQuery* NewL( 
+            MCaUiReconnectQueryObserver& aObserver );
+            
+        /**
+        * Destructor.
+        * If note has been shown, this removes the note away
+        * and frees the resources.
+        */
+        ~CCaUiReconnectQuery();
+
+
+    public: // New functions    
+        
+        /**
+        * Shows the query and destroys it after use.
+        * 
+        * @param aPhoneNumber Number to be used for query.
+        * @param aIncludeVideoCallOption flag if video call option is included
+        */
+        virtual void ShowL(
+            const TPtrC aPhoneNumber,
+            const TBool aIncludeVideoCallOption ) = 0;
+
+    protected:
+
+        /**
+        * C++ constructor.
+        * @param aObserver observer for query result
+        */
+        CCaUiReconnectQuery( MCaUiReconnectQueryObserver& aObserver );
+
+
+    protected: // Data
+        
+        /** Observer for query result. */
+        MCaUiReconnectQueryObserver& iObserver;
+
+    };
+
+#endif      // CCAUIRECONNECTQUERY_H
+            
+// End of File