equal
deleted
inserted
replaced
23 #include <cstack.h> |
23 #include <cstack.h> |
24 #include <f32file.h> |
24 #include <f32file.h> |
25 |
25 |
26 #include "MAknCommonDialogsEventObserver.h" |
26 #include "MAknCommonDialogsEventObserver.h" |
27 #include "CAknCommonDialogsBase.h" |
27 #include "CAknCommonDialogsBase.h" |
|
28 #include "MAknCFDFileSystemObserver.h" |
28 |
29 |
29 // FORWARD DECLARATIONS |
30 // FORWARD DECLARATIONS |
30 class MAknFileSelectionObserver; |
31 class MAknFileSelectionObserver; |
31 class CAknFileSelectionModel; |
32 class CAknFileSelectionModel; |
|
33 class CAknCFDFileSystemEvent; |
|
34 class CAknCommonDialogsPopupList; |
32 |
35 |
33 // CLASS DEFINITION |
36 // CLASS DEFINITION |
34 /** |
37 /** |
35 * A class that handles events reported from an UI class in file selection. |
38 * A class that handles events reported from an UI class in file selection. |
36 * |
39 * |
37 * @lib CommonDialogs.lib |
40 * @lib CommonDialogs.lib |
38 * @since 1.2 |
41 * @since 1.2 |
39 */ |
42 */ |
40 NONSHARABLE_CLASS(CAknFileSelectionEventHandler) : public CBase, public MAknCommonDialogsEventObserver |
43 NONSHARABLE_CLASS(CAknFileSelectionEventHandler) : public CBase, public MAknCommonDialogsEventObserver, |
|
44 public MAknCFDFileSystemObserver |
41 { |
45 { |
42 public: // Constructors and destructors |
46 public: // Constructors and destructors |
43 |
47 |
44 /** |
48 /** |
45 * Static constructor. |
49 * Static constructor. |
105 TEvent aEvent, |
109 TEvent aEvent, |
106 TInt& aFocusedItemIndex, |
110 TInt& aFocusedItemIndex, |
107 TInt& aTopItemIndex, |
111 TInt& aTopItemIndex, |
108 CEikButtonGroupContainer* aContainer ); |
112 CEikButtonGroupContainer* aContainer ); |
109 |
113 |
|
114 void StartFileSystemNotifierL(CAknCommonDialogsPopupList* aPopupList); |
|
115 void StopFileSystemNotifier(); |
|
116 virtual void NotifyFileSystemChangedL(); |
110 private: // Enumerations |
117 private: // Enumerations |
111 |
118 |
112 /** |
119 /** |
113 * Enumerations for softkey statuses. |
120 * Enumerations for softkey statuses. |
114 * If softkey status has changed the text must be redrawn. |
121 * If softkey status has changed the text must be redrawn. |
196 // Ref: Softkey text |
203 // Ref: Softkey text |
197 const HBufC*& iRightSoftkeyRootFolder; |
204 const HBufC*& iRightSoftkeyRootFolder; |
198 |
205 |
199 // Ref: Softkey text |
206 // Ref: Softkey text |
200 const HBufC*& iRightSoftkeySubfolder; |
207 const HBufC*& iRightSoftkeySubfolder; |
|
208 CAknCFDFileSystemEvent* iFSObserver; |
|
209 CAknCommonDialogsPopupList* iPopupList; |
201 }; |
210 }; |
202 |
211 |
203 |
212 |
204 // Constructor for TFocusItem object |
213 // Constructor for TFocusItem object |
205 |
214 |