idlehomescreen/nativeuicontroller/inc/aititlepanerenderer.h
branchRCL_3
changeset 9 f966699dea19
parent 0 f72a12da539e
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    17 
    17 
    18 
    18 
    19 #ifndef C_AITITLEPANERENDERER_H
    19 #ifndef C_AITITLEPANERENDERER_H
    20 #define C_AITITLEPANERENDERER_H
    20 #define C_AITITLEPANERENDERER_H
    21 
    21 
       
    22 // System includes
       
    23 #include <e32base.h>
    22 
    24 
    23 #include <e32base.h>
    25 // User includes
    24 #include "ainativerenderer.h"
    26 #include "ainativerenderer.h"
    25 #include "ainativeuimodel.h"
    27 #include "ainativeuimodel.h"
       
    28 
       
    29 // Forward declarations
       
    30 class CHsContentPublisher;
    26 
    31 
    27 namespace AiUtility
    32 namespace AiUtility
    28 	{
    33 	{
    29 	class CContentPriorityMap;
    34 	class CContentPriorityMap;
    30 	}
    35 	}
    41  *  This class is used to handle publishing to title pane.
    46  *  This class is used to handle publishing to title pane.
    42  *  Published data can be either logo or text.
    47  *  Published data can be either logo or text.
    43  *
    48  *
    44  *  @since S60 3.2
    49  *  @since S60 3.2
    45  */
    50  */
    46 class CAiTitlePaneRenderer : public CAiNativeRenderer
    51 NONSHARABLE_CLASS( CAiTitlePaneRenderer ) : public CAiNativeRenderer
    47     {
    52     {
    48 public:
    53 public:
    49 
    54 
    50     static CAiTitlePaneRenderer* NewLC( CAiStatusPanel& aStatusPanel );
    55     static CAiTitlePaneRenderer* NewLC( CAiStatusPanel& aStatusPanel );
    51 
    56 
    52     virtual ~CAiTitlePaneRenderer();
    57     virtual ~CAiTitlePaneRenderer();
    53 
    58 
    54 // from base class CAiNativeRenderer
    59 // from base class CAiNativeRenderer
    55 
    60 
    56     void DoPublishL( MAiPropertyExtension& aPlugin, 
    61     void DoPublishL( CHsContentPublisher& aPlugin, 
    57                         TInt aContent, 
    62                         TInt aContent, 
    58                         const TDesC16& aText,
    63                         const TDesC16& aText,
    59                         TInt aIndex );
    64                         TInt aIndex );
    60 
    65 
    61     void DoPublishL( MAiPropertyExtension& aPlugin, 
    66     void DoPublishL( CHsContentPublisher& aPlugin, 
    62                         TInt aContent, 
    67                         TInt aContent, 
    63                         const TDesC8& aBuf,
    68                         const TDesC8& aBuf,
    64                         TInt aIndex );
    69                         TInt aIndex );
    65 
    70 
    66     void DoPublishL( MAiPropertyExtension& aPlugin, 
    71     void DoPublishL( CHsContentPublisher& aPlugin, 
    67                         TInt aContent, 
    72                         TInt aContent, 
    68                         TInt aResource,
    73                         TInt aResource,
    69                         TInt aIndex );
    74                         TInt aIndex );
    70 
    75 
    71 	void DoCleanL( MAiPropertyExtension& aPlugin, TInt aContent );
    76 	void DoCleanL( CHsContentPublisher& aPlugin, TInt aContent );
    72 
    77 
    73     void TransactionCommittedL();
    78     void TransactionCommittedL();
    74 
    79 
    75     void FocusObtainedL();
    80     void FocusObtainedL();
    76 
    81