equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #ifndef C_AIDATEPUBLISHER_H |
19 #ifndef C_AIDATEPUBLISHER_H |
20 #define C_AIDATEPUBLISHER_H |
20 #define C_AIDATEPUBLISHER_H |
21 |
21 |
|
22 // System includes |
22 #include <e32base.h> |
23 #include <e32base.h> |
23 #include <coemain.h> |
24 #include <coemain.h> |
|
25 |
|
26 // User includes |
24 #include "aidevicestatuspublisher.h" |
27 #include "aidevicestatuspublisher.h" |
25 #include "aidevicestatuscontentmodel.h" |
28 #include "aidevicestatuscontentmodel.h" |
26 |
29 |
|
30 // Forward declarations |
27 class MAiDeviceStatusContentObserver; |
31 class MAiDeviceStatusContentObserver; |
28 class MAiPropertyExtension; |
32 class CHsContentPublisher; |
29 class CEnvironmentChangeNotifier; |
33 class CEnvironmentChangeNotifier; |
30 |
34 |
31 /** |
35 /** |
32 * @ingroup group_devicestatusplugin |
36 * @ingroup group_devicestatusplugin |
33 * |
37 * |
36 * Publishes current date formatted according to current locale if profile |
40 * Publishes current date formatted according to current locale if profile |
37 * if either general or offline. |
41 * if either general or offline. |
38 * |
42 * |
39 * @since S60 3.2 |
43 * @since S60 3.2 |
40 */ |
44 */ |
41 class CAiDatePublisher : public CBase, public MAiDeviceStatusPublisher |
45 NONSHARABLE_CLASS( CAiDatePublisher ) : public CBase, |
|
46 public MAiDeviceStatusPublisher |
42 { |
47 { |
43 public: |
48 public: |
44 |
49 |
45 static CAiDatePublisher* NewL(); |
50 static CAiDatePublisher* NewL(); |
46 |
51 |
50 |
55 |
51 // from base class MAiDeviceStatusPublisher |
56 // from base class MAiDeviceStatusPublisher |
52 |
57 |
53 void ResumeL(); |
58 void ResumeL(); |
54 void Subscribe( MAiContentObserver& aObserver, |
59 void Subscribe( MAiContentObserver& aObserver, |
55 MAiPropertyExtension& aExtension, |
60 CHsContentPublisher& aExtension, |
56 MAiPublishPrioritizer& aPrioritizer, |
61 MAiPublishPrioritizer& aPrioritizer, |
57 MAiPublisherBroadcaster& aBroadcaster ); |
62 MAiPublisherBroadcaster& aBroadcaster ); |
58 void RefreshL( TBool aClean ); |
63 void RefreshL( TBool aClean ); |
59 TBool RefreshL( TInt aContentId, TBool aClean ); |
64 TBool RefreshL( TInt aContentId, TBool aClean ); |
60 |
65 |
88 |
93 |
89 /** |
94 /** |
90 * Property extension. |
95 * Property extension. |
91 * Not own. |
96 * Not own. |
92 */ |
97 */ |
93 MAiPropertyExtension* iExtension; |
98 CHsContentPublisher* iExtension; |
94 |
99 |
95 /** |
100 /** |
96 * Content prioritizer. |
101 * Content prioritizer. |
97 * Not own. |
102 * Not own. |
98 */ |
103 */ |