connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifInc/WepWpaQueryDlg.h
--- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifInc/WepWpaQueryDlg.h Thu Dec 17 08:55:21 2009 +0200
+++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifInc/WepWpaQueryDlg.h Thu Jan 07 12:56:54 2010 +0200
@@ -22,9 +22,11 @@
// INCLUDES
#include <AknQueryDialog.h>
+#include "ExpiryTimerCallback.h"
// FORWARD DECLARATIONS
class CConnectionDialogsNotifBase;
+class CExpiryTimer;
enum TDialogType
{
@@ -38,7 +40,7 @@
/**
* Class implements a query dialog.
*/
-NONSHARABLE_CLASS( CWepWpaQueryDlg ) : public CAknTextQueryDialog
+NONSHARABLE_CLASS( CWepWpaQueryDlg ) : public CAknTextQueryDialog, public MExpiryTimerCallback
{
public:
/**
@@ -65,7 +67,19 @@
*/
virtual ~CWepWpaQueryDlg();
- TBool NeedToDismissQueryL(const TKeyEvent& aKeyEvent);
+ /**
+ * from CCoeControl
+ * @param aKeyEvent Event to handled.
+ * @param aType Type of the key event.
+ * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
+ */
+ TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent,
+ TEventCode aType);
+
+ /**
+ * Dialog expiration timeout callback
+ */
+ void HandleTimedOut();
private:
@@ -86,6 +100,8 @@
CConnectionDialogsNotifBase* iNotif; // Pointer to the Notifier
TInt iDialogType;
TBool& iHex;
+ // Pointer for dialog expiration timer
+ CExpiryTimer* iExpiryTimer;
};