iaupdate/IAD/ui/inc/iaupdateautomaticcheck.h
branchRCL_3
changeset 25 7333d7932ef7
parent 0 ba25891c3a9e
child 26 8b7f4e561641
--- a/iaupdate/IAD/ui/inc/iaupdateautomaticcheck.h	Thu Aug 19 10:02:49 2010 +0300
+++ b/iaupdate/IAD/ui/inc/iaupdateautomaticcheck.h	Tue Aug 31 15:21:33 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2008-2010 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"
@@ -22,13 +22,17 @@
 
 // INCLUDES
 #include <e32base.h>
+#include "iaupdatedialogobserver.h"
 
+class HbAction;
+class IAUpdateDialogUtil;
 // CLASS DECLARATION
 /**
 *
 */
 
-class CIAUpdateAutomaticCheck : public CBase
+class CIAUpdateAutomaticCheck : public CBase,
+                                public IAUpdateDialogObserver
     {
 public:
 
@@ -59,7 +63,7 @@
     * @return True value if automatic update connections are allowed, EFalse if not allowed.
     *         Returns always true if this function is called after first time
     */
-    TBool AcceptAutomaticCheckL();
+    void AcceptAutomaticCheckL();
     
     TBool AutoUpdateCheckEnabledL();
         
@@ -79,10 +83,15 @@
     * Enables automatic updates cheks
     */
     void EnableAutoUpdateCheckL( TBool aEnable );
+
+private: // From IAUpdateDialogObserver     
+         
+     void dialogFinished(HbAction *action);       
     
         
 private: //data
-    
+    IAUpdateDialogUtil *mDialogUtil;
+    HbAction *mPrimaryAction;
     };