17 |
17 |
18 |
18 |
19 #ifndef C_AINWSPUBLISHER_H |
19 #ifndef C_AINWSPUBLISHER_H |
20 #define C_AINWSPUBLISHER_H |
20 #define C_AINWSPUBLISHER_H |
21 |
21 |
|
22 // System includes |
|
23 #include <e32base.h> |
22 |
24 |
23 #include <e32base.h> |
25 // User includes |
24 #include "aidevicestatuspublisher.h" |
26 #include "aidevicestatuspublisher.h" |
25 #include "aidevicestatuscontentmodel.h" |
27 #include "aidevicestatuscontentmodel.h" |
26 #include "ainetworkinfoobserver.h" |
28 #include "ainetworkinfoobserver.h" |
27 |
29 |
28 |
30 // Forward declarations |
29 class MAiDeviceStatusContentObserver; |
31 class MAiDeviceStatusContentObserver; |
30 class MAiPropertyExtension; |
32 class CHsContentPublisher; |
31 class CAiNetworkInfoListener; |
33 class CAiNetworkInfoListener; |
32 class CRepository; |
34 class CRepository; |
33 |
35 |
34 /** |
36 /** |
35 * @ingroup group_devicestatusplugin |
37 * @ingroup group_devicestatusplugin |
36 * |
38 * |
37 * Listens Network status and publishes data if network selection dialog is needed. |
39 * Listens Network status and publishes data if network selection dialog is needed. |
38 * |
40 * |
39 * @since S60 3.2 |
41 * @since S60 3.2 |
40 */ |
42 */ |
41 class CAiNwsPublisher : public CBase, public MAiDeviceStatusPublisher, |
43 NONSHARABLE_CLASS( CAiNwsPublisher ) : public CBase, |
42 public MAiNetworkInfoObserver |
44 public MAiDeviceStatusPublisher, |
|
45 public MAiNetworkInfoObserver |
43 { |
46 { |
44 public: |
47 public: |
45 |
48 |
46 static CAiNwsPublisher* NewL(); |
49 static CAiNwsPublisher* NewL(); |
47 |
50 |
50 // from base class MAiDeviceStatusPublisher |
53 // from base class MAiDeviceStatusPublisher |
51 |
54 |
52 void ResumeL(); |
55 void ResumeL(); |
53 |
56 |
54 void Subscribe( MAiContentObserver& aObserver, |
57 void Subscribe( MAiContentObserver& aObserver, |
55 MAiPropertyExtension& aExtension, |
58 CHsContentPublisher& aExtension, |
56 MAiPublishPrioritizer& aPrioritizer, |
59 MAiPublishPrioritizer& aPrioritizer, |
57 MAiPublisherBroadcaster& aBroadcaster ); |
60 MAiPublisherBroadcaster& aBroadcaster ); |
58 |
61 |
59 void RefreshL( TBool aClean ); |
62 void RefreshL( TBool aClean ); |
60 |
63 |