sysresmonitoring/oodmonitor/oodmonitor2/inc/outofdiskglobalnote.h
changeset 56 11a052f4b02e
parent 21 c4cbaa4fb734
--- a/sysresmonitoring/oodmonitor/oodmonitor2/inc/outofdiskglobalnote.h	Tue Jul 06 14:26:20 2010 +0300
+++ b/sysresmonitoring/oodmonitor/oodmonitor2/inc/outofdiskglobalnote.h	Wed Aug 18 09:58:19 2010 +0300
@@ -45,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  );    
@@ -53,19 +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;
         RResourceFile       iOODResourceFile;
         TNoteInfo           iNoteInfo;
+        CHbDeviceMessageBoxSymbian *iNote;
     };
 #endif //__OUTOFDISKGLOBALNOTE_H__