equal
deleted
inserted
replaced
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include <hscontentcontrolui.h> |
23 #include <hscontentcontrolui.h> |
24 |
24 |
25 // User includes |
25 // User includes |
26 #include "hscontentcontrolecomobserver.h" |
26 #include "hscontentcontrolecomobserver.h" |
27 #include "hscontentcontroluninstallobserver.h" |
27 #include "hscontentcontrolswiobserver.h" |
28 |
28 |
29 // Forward declarations |
29 // Forward declarations |
30 class CHsContentControlEComListener; |
30 class CHsContentControlEComListener; |
31 class CHsContentControlUninstallMonitor; |
31 class CHsContentControlSwiListener; |
32 class CXnAppUiAdapter; |
32 class CXnAppUiAdapter; |
33 |
33 |
34 /** |
34 /** |
35 * Content control UI base class |
35 * Content control UI base class |
36 * |
36 * |
42 * @lib hscontentcontrol.lib |
42 * @lib hscontentcontrol.lib |
43 * @since S60 v5.0 |
43 * @since S60 v5.0 |
44 */ |
44 */ |
45 NONSHARABLE_CLASS( CHsContentControlFactory ) : public CBase, |
45 NONSHARABLE_CLASS( CHsContentControlFactory ) : public CBase, |
46 public MHsContentControlEComObserver, |
46 public MHsContentControlEComObserver, |
47 public MHsContentControlUninstallObserver |
47 public MHsContentControlSwiObserver |
48 { |
48 { |
49 public: // Constructor and destructor |
49 public: // Constructor and destructor |
50 /** |
50 /** |
51 * Two-phased constructor. |
51 * Two-phased constructor. |
52 */ |
52 */ |
62 /** |
62 /** |
63 * Notification of Ecom registry change. |
63 * Notification of Ecom registry change. |
64 */ |
64 */ |
65 void HandleEComChangeEvent(); |
65 void HandleEComChangeEvent(); |
66 |
66 |
67 private: // from MHsContentControlUninstallObserver |
67 private: // from MHsContentControlSwiObserver |
68 |
68 |
69 /** |
69 /** |
70 * Notification of Uninstall event from SWI. |
70 * Notification of Install/Uninstall event from SWI. |
71 * @param aPkgUid The package UID which is being uninstalled. |
71 * @param aUidList The package UID list which is being processed. |
72 */ |
72 */ |
73 void HandleUninstallEvent( const TUid& aPkgUid ); |
73 void HandleSwiEvent( const RArray<TUid>& aUidList ); |
74 |
74 |
75 private: // Constructors |
75 private: // Constructors |
76 /** |
76 /** |
77 * Constructor |
77 * Constructor |
78 */ |
78 */ |
79 CHsContentControlFactory( CXnAppUiAdapter& aAdapter ); |
79 CHsContentControlFactory( CXnAppUiAdapter& aAdapter ); |
148 * An object of type CHsContentControlEComListener ( Owned ). |
148 * An object of type CHsContentControlEComListener ( Owned ). |
149 */ |
149 */ |
150 CHsContentControlEComListener* iHsContentControlEComListener; |
150 CHsContentControlEComListener* iHsContentControlEComListener; |
151 |
151 |
152 /** |
152 /** |
153 * An object of type CHsContentControlUninstallMonitor ( Owned ). |
153 * An object of type CHsContentControlSwiListener ( Owned ). |
154 */ |
154 */ |
155 CHsContentControlUninstallMonitor* iHsContentControlUninstallMonitor; |
155 CHsContentControlSwiListener* iHsContentControlSwiListener; |
156 }; |
156 }; |
157 |
157 |
158 |
158 |
159 #endif // HSCONTENTCONTROLFACTORY_H |
159 #endif // HSCONTENTCONTROLFACTORY_H |
160 |
160 |