sysresmonitoring/oodmonitor/oodmonitor2/inc/outofdiskglobalnote.h
branchRCL_3
changeset 62 924385140d98
parent 0 2e3d3ce01487
child 63 c2c61fdca848
--- a/sysresmonitoring/oodmonitor/oodmonitor2/inc/outofdiskglobalnote.h	Thu Aug 19 10:05:08 2010 +0300
+++ b/sysresmonitoring/oodmonitor/oodmonitor2/inc/outofdiskglobalnote.h	Tue Aug 31 15:24:25 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2007-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,7 +22,8 @@
 // SYSTEM INCLUDES
 #include <uiklaf/private/lafshut.h>
 #include <coemain.h>
-#include <AknGlobalNote.h>
+#include "hbdevicemessageboxsymbian.h"
+
 
 // USER INCLUDES
 
@@ -44,7 +45,7 @@
 *  @lib None
 *  @since S60 3.2
 */
-NONSHARABLE_CLASS(COutOfDiskGlobalNote) : public CActive
+NONSHARABLE_CLASS(COutOfDiskGlobalNote) : public MHbDeviceMessageBoxObserver
     {
     public:
         COutOfDiskGlobalNote( COutOfDiskMonitor* aOutOfDiskMonitor, RFs& aFs  );    
@@ -52,20 +53,21 @@
         ~COutOfDiskGlobalNote();        
         void DisplayL(const TDesC& aMessage);
         void ShowGlobalQueryL(TInt aStatus, TInt aDrive);
-        void CancelNoteL();
         TBool NoteOnDisplay();
         TNoteInfo GetNoteInfo();
+                                   
+        void MessageBoxClosed(const CHbDeviceMessageBoxSymbian* aMessageBox,
+                CHbDeviceMessageBoxSymbian::TButtonId aButton);
+
     private:
         void ConstructL();
         HBufC* FormatStringL(const TDesC& aSource, const MDesCArray& aStrings);
-    private: // From CActive    
-    	void DoCancel();
-    	void RunL();                
+       	         
     private: // Data
         COutOfDiskMonitor*  iOutOfDiskMonitor; //uses
         RFs&                iFs;
-        CAknGlobalNote*     iQuery;
         RResourceFile       iOODResourceFile;
         TNoteInfo           iNoteInfo;
+        CHbDeviceMessageBoxSymbian *iNote;
     };
 #endif //__OUTOFDISKGLOBALNOTE_H__