20 #ifndef MSSSETTINGSREFRESHHANDLER_H |
20 #ifndef MSSSETTINGSREFRESHHANDLER_H |
21 #define MSSSETTINGSREFRESHHANDLER_H |
21 #define MSSSETTINGSREFRESHHANDLER_H |
22 |
22 |
23 |
23 |
24 // INCLUDES |
24 // INCLUDES |
25 #include <MSSSettingsRefreshObserver.h> |
25 #include <msssettingsrefreshobserver.h> |
26 #include <msatrefreshobserver.h> |
26 #include <msatrefreshobserver.h> |
27 |
27 |
28 |
28 |
29 // FORWARD DECLARATIONS |
29 // FORWARD DECLARATIONS |
30 class CSSSettingsNotifyContainer; |
30 class CSSSettingsNotifyContainer; |
41 class MSSSettingsRefreshHandler |
41 class MSSSettingsRefreshHandler |
42 { |
42 { |
43 public: // New functions |
43 public: // New functions |
44 |
44 |
45 /** |
45 /** |
46 * Start the waiting for refresh events. |
46 * Start the waiting for refresh events. |
47 * |
47 * |
48 * @param aObserver The observer to handle refresh events. |
48 * @param aObserver The observer to handle refresh events. |
49 * @param aObservedFile The file change to be observed. |
49 * @param aObservedFile The file change to be observed. |
50 * @param aObservedRefreshType The refresh type(s) to be observed. |
50 * @param aObservedRefreshType The refresh type(s) to be observed. |
51 */ |
51 */ |
52 virtual void NotifyFileChangeL( |
52 virtual void NotifyFileChangeL( |
53 MSSSettingsRefreshObserver& aObserver, |
53 MSSSettingsRefreshObserver& aObserver, |
54 TSatElementaryFiles aObservedFile, |
54 TSatElementaryFiles aObservedFile, |
55 TSatRefreshType aObservedRefreshType ) = 0; |
55 TSatRefreshType aObservedRefreshType ) = 0; |
56 |
56 |
57 /** |
57 /** |
58 * Cancel the notification started in NotifyFileChangeL. |
58 * Cancel the notification started in NotifyFileChangeL. |
59 * |
59 * |
60 * @param aObserver The observer whose notify to be canceled. |
60 * @param aObserver The observer whose notify to be canceled. |
61 * @param aObservedFile The file change to be canceled. |
61 * @param aObservedFile The file change to be canceled. |
62 * @param aObservedRefreshType The refresh type to be canceled. |
62 * @param aObservedRefreshType The refresh type to be canceled. |
63 */ |
63 */ |
64 virtual void CancelNotify() = 0; |
64 virtual void CancelNotify() = 0; |
65 |
65 |
66 /** |
66 /** |
67 * Get the changed CSP information after Refresh. |
67 * Get the changed CSP information after Refresh. |
68 * |
68 * |
69 * @param aChangedCsps The changed CSP fields, |
69 * @param aChangedCsps The changed CSP fields, |