diff -r 45ab7373901d -r bb90e4148332 voicerecorder/RecViewSrc/CVRRecViewModel.h --- a/voicerecorder/RecViewSrc/CVRRecViewModel.h Wed Mar 31 21:35:17 2010 +0300 +++ b/voicerecorder/RecViewSrc/CVRRecViewModel.h Wed Apr 14 16:00:13 2010 +0300 @@ -39,6 +39,8 @@ #include "MVRSystemEventObserver.h" #include "MVRUSBEventObserver.h" +#include "MVRMediaRemovalObserver.h" + #include "TVRContext.h" #include "voicerecorder.hrh" @@ -55,6 +57,7 @@ class TVRState; class CVRSystemEventHandler; class CVRUSBEventHandler; +class CVRMediaRemovalMonitor; // CLASS DEFINITION @@ -68,7 +71,7 @@ public MVRStateInfoModel, public MVRObserver, public MVRKeyObserver, public MVRVolumeChangeObserver, public MVRSystemEventObserver, - public MVRUSBEventObserver + public MVRUSBEventObserver, public MVRMediaRemovalObserver { private: // nested classes @@ -315,6 +318,9 @@ void HandleUSBEventL(); + + void HandleMMCEjectEventL(); + public: // new methods /** @@ -654,6 +660,8 @@ * For listening USB events. Owned. */ CVRUSBEventHandler* iCurrentUSBHandler; + + CVRMediaRemovalMonitor* iCurrentMMCEjectHandler; /**