equal
deleted
inserted
replaced
37 #include "MVRSelectionProvider.h" |
37 #include "MVRSelectionProvider.h" |
38 #include "MVRVolumeChangeObserver.h" |
38 #include "MVRVolumeChangeObserver.h" |
39 |
39 |
40 #include "MVRSystemEventObserver.h" |
40 #include "MVRSystemEventObserver.h" |
41 #include "MVRUSBEventObserver.h" |
41 #include "MVRUSBEventObserver.h" |
|
42 #include "MVRMediaRemovalObserver.h" |
|
43 |
42 |
44 |
43 #include "TVRContext.h" |
45 #include "TVRContext.h" |
44 #include "voicerecorder.hrh" |
46 #include "voicerecorder.hrh" |
45 |
47 |
46 #include "MVRStateInfoObserver.h" |
48 #include "MVRStateInfoObserver.h" |
53 class MVRObserver; |
55 class MVRObserver; |
54 class TResourceReader; |
56 class TResourceReader; |
55 class TVRState; |
57 class TVRState; |
56 class CVRSystemEventHandler; |
58 class CVRSystemEventHandler; |
57 class CVRUSBEventHandler; |
59 class CVRUSBEventHandler; |
|
60 class CVRMediaRemovalMonitor; |
58 |
61 |
59 |
62 |
60 // CLASS DEFINITION |
63 // CLASS DEFINITION |
61 /** |
64 /** |
62 * This class is the data model and state machine of the Recorder View. |
65 * This class is the data model and state machine of the Recorder View. |
66 public CBase, |
69 public CBase, |
67 public MVRDecoratorModel, public MVRButtonPanelModel, |
70 public MVRDecoratorModel, public MVRButtonPanelModel, |
68 public MVRStateInfoModel, public MVRObserver, |
71 public MVRStateInfoModel, public MVRObserver, |
69 public MVRKeyObserver, public MVRVolumeChangeObserver, |
72 public MVRKeyObserver, public MVRVolumeChangeObserver, |
70 public MVRSystemEventObserver, |
73 public MVRSystemEventObserver, |
71 public MVRUSBEventObserver |
74 public MVRUSBEventObserver, public MVRMediaRemovalObserver |
72 { |
75 { |
73 private: // nested classes |
76 private: // nested classes |
74 |
77 |
75 class TVRLabelLayoutLink |
78 class TVRLabelLayoutLink |
76 { |
79 { |
312 |
315 |
313 void HandleSystemEventL(); |
316 void HandleSystemEventL(); |
314 |
317 |
315 |
318 |
316 void HandleUSBEventL(); |
319 void HandleUSBEventL(); |
|
320 |
|
321 |
|
322 void HandleMMCEjectEventL(); |
317 |
323 |
318 public: // new methods |
324 public: // new methods |
319 |
325 |
320 /** |
326 /** |
321 * Handles a option menu / command button / softkey command. |
327 * Handles a option menu / command button / softkey command. |
652 |
658 |
653 /** |
659 /** |
654 * For listening USB events. Owned. |
660 * For listening USB events. Owned. |
655 */ |
661 */ |
656 CVRUSBEventHandler* iCurrentUSBHandler; |
662 CVRUSBEventHandler* iCurrentUSBHandler; |
|
663 |
|
664 CVRMediaRemovalMonitor* iCurrentMMCEjectHandler; |
657 |
665 |
658 |
666 |
659 /** |
667 /** |
660 * Current logical state (i.e. what the user sees, not the actual |
668 * Current logical state (i.e. what the user sees, not the actual |
661 * state of the HW) of the IHF |
669 * state of the HW) of the IHF |