20 #ifndef PSETREFRESHHANDLER_H |
20 #ifndef PSETREFRESHHANDLER_H |
21 #define PSETREFRESHHANDLER_H |
21 #define PSETREFRESHHANDLER_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 // DATA TYPES |
29 // DATA TYPES |
30 |
30 |
31 // Changed CSP settings. |
31 // Changed CSP settings. |
53 public CBase |
53 public CBase |
54 { |
54 { |
55 public: // New functions |
55 public: // New functions |
56 |
56 |
57 /** |
57 /** |
58 * Start the waiting for refresh events. |
58 * Start the waiting for refresh events. |
59 * |
59 * |
60 * @param aObserver The observer to handle refresh events. |
60 * @param aObserver The observer to handle refresh events. |
61 * @param aObservedFile The file change to be observed. |
61 * @param aObservedFile The file change to be observed. |
62 * @param aObservedRefreshType The refresh type(s) to be observed. |
62 * @param aObservedRefreshType The refresh type(s) to be observed. |
63 */ |
63 */ |
64 virtual void NotifyFileChangeL( |
64 virtual void NotifyFileChangeL( |
65 MSSSettingsRefreshObserver& aObserver, |
65 MSSSettingsRefreshObserver& aObserver, |
66 TSatElementaryFiles aObservedFile, |
66 TSatElementaryFiles aObservedFile, |
67 TSatRefreshType aObservedRefreshType ) = 0; |
67 TSatRefreshType aObservedRefreshType ) = 0; |
68 |
68 |
69 /** |
69 /** |
70 * Cancel the notification started in NotifyFileChangeL. |
70 * Cancel the notification started in NotifyFileChangeL. |
71 * |
71 * |
72 * @param aObserver The observer whose notify to be canceled. |
72 * @param aObserver The observer whose notify to be canceled. |
73 * @param aObservedFile The file change to be canceled. |
73 * @param aObservedFile The file change to be canceled. |
74 * @param aObservedRefreshType The refresh type to be canceled. |
74 * @param aObservedRefreshType The refresh type to be canceled. |
75 */ |
75 */ |
76 virtual void CancelNotify() = 0; |
76 virtual void CancelNotify() = 0; |
77 |
77 |
78 /** |
78 /** |
79 * Get the changed CSP information after Refresh. |
79 * Get the changed CSP information after Refresh. |
80 * |
80 * |
81 * @param aChangedCspSettings The changed CSP settings, |
81 * @param aChangedCspSettings The changed CSP settings, |