equal
deleted
inserted
replaced
19 #define C_CAWIDGETSCANNERPLUGIN_H |
19 #define C_CAWIDGETSCANNERPLUGIN_H |
20 |
20 |
21 #include <casrvplugin.h> |
21 #include <casrvplugin.h> |
22 #include <f32file.h> |
22 #include <f32file.h> |
23 #include "cammcwatcher.h" |
23 #include "cammcwatcher.h" |
|
24 #include "cainstallnotifier.h" |
24 |
25 |
25 class TPluginParams; |
26 class TPluginParams; |
26 class CCaWidgetScannerInstallNotifier; |
|
27 class CCaWidgetStorageHandler; |
27 class CCaWidgetStorageHandler; |
28 |
28 |
29 class CCaWidgetScannerPlugin : public CCaSrvPlugin, MMmcWatcherCallback |
29 class CCaWidgetScannerPlugin : |
|
30 public CCaSrvPlugin, MMmcWatcherCallback, MCaInstallListener |
30 { |
31 { |
31 |
32 |
32 public: |
33 public: |
33 // Constructors and destructor |
34 // Constructors and destructor |
34 |
35 |
45 |
46 |
46 /** |
47 /** |
47 * SynchronizeL - synchronizes widgets on device with database |
48 * SynchronizeL - synchronizes widgets on device with database |
48 */ |
49 */ |
49 void SynchronizeL(); |
50 void SynchronizeL(); |
|
51 |
|
52 void HandleInstallNotifyL(); |
50 |
53 |
51 private: |
54 private: |
52 //from MWidgetMmcWatcherCallback |
55 //from MWidgetMmcWatcherCallback |
53 |
56 |
54 /** |
57 /** |
76 RFs iFs; |
79 RFs iFs; |
77 |
80 |
78 /** |
81 /** |
79 * Sis installation notifier. Own |
82 * Sis installation notifier. Own |
80 */ |
83 */ |
81 CCaWidgetScannerInstallNotifier* iInstallNotifier; |
84 CCaInstallNotifier* iInstallNotifier; |
82 |
85 |
83 /** |
86 /** |
84 * Content Storage Handler. Own. |
87 * Content Storage Handler. Own. |
85 */ |
88 */ |
86 CCaWidgetStorageHandler* iStorageHandler; |
89 CCaWidgetStorageHandler* iStorageHandler; |