iaupdate/IAD/ui/inc/iaupdatewaitdialogobserver.h
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
--- a/iaupdate/IAD/ui/inc/iaupdatewaitdialogobserver.h	Tue Aug 31 15:21:33 2010 +0300
+++ b/iaupdate/IAD/ui/inc/iaupdatewaitdialogobserver.h	Wed Sep 01 12:22:02 2010 +0100
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2007-2008 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"
@@ -18,8 +18,8 @@
 
 
 
-#ifndef IAUPDATE_WAITDIALOG_OBSERVER_H
-#define IAUPDATE_WAITDIALOG_OBSERVER_H
+#ifndef IAUPDATEDIALOGS_H
+#define IAUPDATEDIALOGS_H
 
 //  INCLUDES
 #include <e32base.h>
@@ -35,13 +35,15 @@
     {
     public:
         
-    /**
-    * This is called when the dialog is cancelled
-    */
-    virtual void HandleWaitDialogCancel() = 0;    
+        /**
+        * This is called when the dialog is about to be closed.
+        * @param aButtonId - Id of the button, which was used to cancel the dialog.
+        * @return ETrue, if it's ok to close the dialog, EFalse otherwise.
+        */
+        virtual TBool HandleDialogExitL( TInt aButtonId ) = 0;    
     };
 
 
-#endif // IAUPDATE_WAITDIALOG_OBSERVER_H
+#endif // IAUPDATEDIALOGS_H
             
 // End of File