equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #ifndef C_AISOFTKEYRENDERER_H |
19 #ifndef C_AISOFTKEYRENDERER_H |
20 #define C_AISOFTKEYRENDERER_H |
20 #define C_AISOFTKEYRENDERER_H |
21 |
21 |
22 |
22 // System includes |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include <coeaui.h> //ECoeStackPriorityDefault |
24 #include <coeaui.h> //ECoeStackPriorityDefault |
|
25 |
|
26 // User includes |
25 #include "ainativerenderer.h" |
27 #include "ainativerenderer.h" |
26 #include "ainativeuimodel.h" |
28 #include "ainativeuimodel.h" |
27 |
29 |
|
30 // Forward declarations |
|
31 class CHsContentPublisher; |
28 |
32 |
29 namespace AiNativeUiController |
33 namespace AiNativeUiController |
30 { |
34 { |
31 // CONSTANTS |
35 // CONSTANTS |
32 // VIEW IDENTIFIERS; VALUES MUST BE UNIQUE! |
36 // VIEW IDENTIFIERS; VALUES MUST BE UNIQUE! |
46 * This class is used to handle publishing to Soft Key labels. |
50 * This class is used to handle publishing to Soft Key labels. |
47 * Published data can be either text or resource. |
51 * Published data can be either text or resource. |
48 * |
52 * |
49 * @since S60 3.2 |
53 * @since S60 3.2 |
50 */ |
54 */ |
51 class CAiSoftKeyRenderer : public CAiNativeRenderer |
55 NONSHARABLE_CLASS( CAiSoftKeyRenderer ) : public CAiNativeRenderer |
52 { |
56 { |
53 public: |
57 public: |
54 |
58 |
55 static CAiSoftKeyRenderer* NewLC(); |
59 static CAiSoftKeyRenderer* NewLC(); |
56 |
60 |
57 virtual ~CAiSoftKeyRenderer(); |
61 virtual ~CAiSoftKeyRenderer(); |
58 |
62 |
59 // from base class CAiNativeRenderer |
63 // from base class CAiNativeRenderer |
60 |
64 |
61 void DoPublishL( MAiPropertyExtension& aPlugin, |
65 void DoPublishL( CHsContentPublisher& aPlugin, |
62 TInt aContent, |
66 TInt aContent, |
63 const TDesC16& aText, |
67 const TDesC16& aText, |
64 TInt aIndex ); |
68 TInt aIndex ); |
65 void DoPublishL( MAiPropertyExtension& aPlugin, |
69 void DoPublishL( CHsContentPublisher& aPlugin, |
66 TInt aContent, |
70 TInt aContent, |
67 TInt aResource, |
71 TInt aResource, |
68 TInt aIndex ); |
72 TInt aIndex ); |
69 void DoPublishL( MAiPropertyExtension& aPlugin, |
73 void DoPublishL( CHsContentPublisher& aPlugin, |
70 TInt aContent, |
74 TInt aContent, |
71 const TDesC8& aBuf, |
75 const TDesC8& aBuf, |
72 TInt aIndex ); |
76 TInt aIndex ); |
73 |
77 |
74 private: |
78 private: |