17 |
17 |
18 |
18 |
19 #ifndef C_AISOFTNOTIFERRENDERER_H |
19 #ifndef C_AISOFTNOTIFERRENDERER_H |
20 #define C_AISOFTNOTIFERRENDERER_H |
20 #define C_AISOFTNOTIFERRENDERER_H |
21 |
21 |
22 |
22 // System includes |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include "ainativerenderer.h" |
|
25 #include <AknSoftNotifier.h> |
24 #include <AknSoftNotifier.h> |
26 |
25 |
|
26 // User includes |
|
27 #include "ainativerenderer.h" |
|
28 |
|
29 // Forward declarations |
|
30 class CHsContentPublisher; |
27 class CAknSoftNotifier; |
31 class CAknSoftNotifier; |
28 |
32 |
29 namespace AiNativeUiController |
33 namespace AiNativeUiController |
30 { |
34 { |
31 |
|
32 /** |
35 /** |
33 * Dialog renderer. |
36 * Dialog renderer. |
34 * |
37 * |
35 * Used to show CAknSoftNotifier on screen. |
38 * Used to show CAknSoftNotifier on screen. |
36 * |
39 * |
37 * @since S60 3.2 |
40 * @since S60 3.2 |
38 */ |
41 */ |
39 class CAiNotifierRenderer : public CAiNativeRenderer |
42 NONSHARABLE_CLASS( CAiNotifierRenderer ) : public CAiNativeRenderer |
40 { |
43 { |
41 public: |
44 public: |
42 |
45 |
43 static CAiNotifierRenderer* NewLC(); |
46 static CAiNotifierRenderer* NewLC(); |
44 |
47 |
45 virtual ~CAiNotifierRenderer(); |
48 virtual ~CAiNotifierRenderer(); |
46 |
49 |
47 // from base class CAiNativeRenderer |
50 // from base class CAiNativeRenderer |
48 |
51 |
49 void DoPublishL( MAiPropertyExtension& aPlugin, TInt aContent, TInt aResource, TInt aIndex ); |
52 void DoPublishL( CHsContentPublisher& aPlugin, TInt aContent, TInt aResource, TInt aIndex ); |
50 |
53 |
51 void DoCleanL( MAiPropertyExtension& aPlugin, TInt aContent ); |
54 void DoCleanL( CHsContentPublisher& aPlugin, TInt aContent ); |
52 |
55 |
53 private: |
56 private: |
54 |
57 |
55 /** |
58 /** |
56 * Add a notification |
59 * Add a notification |