equal
deleted
inserted
replaced
21 |
21 |
22 //content harvester |
22 //content harvester |
23 #include <contentharvesterplugin.h> |
23 #include <contentharvesterplugin.h> |
24 #include <contentharvesterpluginuids.hrh> |
24 #include <contentharvesterpluginuids.hrh> |
25 #include <mspnotifychangeobserver.h> |
25 #include <mspnotifychangeobserver.h> |
26 #include <aipropertyextension.h> |
26 //#include <aipropertyextension.h> |
27 #include "mservicewidgetobservers.h" |
27 #include "mservicewidgetobservers.h" |
28 #include<badesca.h> |
28 #include<badesca.h> |
29 // FORWARD DECLARATIONS |
29 // FORWARD DECLARATIONS |
30 class CServiceWidgetServiceManager; |
30 class CServiceWidgetServiceManager; |
31 class CServiceWidgetContentPublisher; |
31 class CServiceWidgetContentPublisher; |
41 * @since S60 5.0 |
41 * @since S60 5.0 |
42 */ |
42 */ |
43 |
43 |
44 class CServiceWidgetPlugin : public CContentHarvesterPlugin, |
44 class CServiceWidgetPlugin : public CContentHarvesterPlugin, |
45 public MSPNotifyChangeObserver, |
45 public MSPNotifyChangeObserver, |
46 public MServiceWidgetEventObserver, |
46 public MServiceWidgetEventObserver//, |
47 public MAiPropertyExtension |
47 //public MAiPropertyExtension |
48 { |
48 { |
49 friend class Cservicewidgetdatapublisher_ut; |
49 friend class Cservicewidgetdatapublisher_ut; |
50 public: |
50 public: |
51 |
51 |
52 /** |
52 /** |
131 * Read property of publisher plug-in. |
131 * Read property of publisher plug-in. |
132 * |
132 * |
133 * @param aProperty - identification of property. |
133 * @param aProperty - identification of property. |
134 * @return pointer to property value. |
134 * @return pointer to property value. |
135 */ |
135 */ |
136 TAny* GetPropertyL( TInt aProperty ); |
136 //TAny* GetPropertyL( TInt aProperty ); |
137 |
137 |
138 /** |
138 /** |
139 * From MAiPropertyExtension. |
139 * From MAiPropertyExtension. |
140 * Write property value. |
140 * Write property value. |
141 * |
141 * |
142 * @param aProperty - identification of property. |
142 * @param aProperty - identification of property. |
143 * @param aValue - contains pointer to property value. |
143 * @param aValue - contains pointer to property value. |
144 */ |
144 */ |
145 void SetPropertyL( TInt aProperty, TAny* aValue ); |
145 //void SetPropertyL( TInt aProperty, TAny* aValue ); |
146 |
146 |
147 |
147 |
148 private: // Data members |
148 private: // Data members |
149 // owns : content publishing client to hsps |
149 // owns : content publishing client to hsps |
150 CServiceWidgetContentPublisher* iContentPublisher; |
150 CServiceWidgetContentPublisher* iContentPublisher; |
159 // owns, retrive settings from cenrep store |
159 // owns, retrive settings from cenrep store |
160 MVIMPSTSettingsStore* iSettingsStore; |
160 MVIMPSTSettingsStore* iSettingsStore; |
161 // Own: service observer |
161 // Own: service observer |
162 CSPNotifyChange* iSpNotifyChange; |
162 CSPNotifyChange* iSpNotifyChange; |
163 // Information about the content publisher (this plug-in) |
163 // Information about the content publisher (this plug-in) |
164 TAiPublisherInfo iInfo; |
164 //TAiPublisherInfo iInfo; |
165 }; |
165 }; |
166 |
166 |
167 #endif // CSERVICEWIDGETPLUGIN_H |
167 #endif // CSERVICEWIDGETPLUGIN_H |
168 // End of File |
168 // End of File |