idlehomescreen/nativeuicontroller/inc/aistatuspanetouchui.h
branchRCL_3
changeset 9 f966699dea19
parent 0 f72a12da539e
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    17 
    17 
    18 
    18 
    19 #ifndef C_AISTATUSPANETOUCHUI_H
    19 #ifndef C_AISTATUSPANETOUCHUI_H
    20 #define C_AISTATUSPANETOUCHUI_H
    20 #define C_AISTATUSPANETOUCHUI_H
    21 
    21 
       
    22 // System includes
    22 #include <e32base.h>
    23 #include <e32base.h>
    23 #include <badesca.h>
    24 #include <badesca.h>
    24 #include <AknNaviDecoratorObserver.h>
    25 #include <AknNaviDecoratorObserver.h>
    25 #include <StringLoader.h>
    26 #include <StringLoader.h>
    26 #include <eikmobs.h>
    27 #include <eikmobs.h>
    27 
    28 
       
    29 // User includes
    28 #include "ainativerenderer.h"
    30 #include "ainativerenderer.h"
    29 
    31 
       
    32 // Forward declarations
       
    33 class CHsContentPublisher;
    30 class MAiFwEventHandler;
    34 class MAiFwEventHandler;
    31 
       
    32 class CAknStylusPopUpMenu;
    35 class CAknStylusPopUpMenu;
    33 
    36 
    34 namespace AiNativeUiController
    37 namespace AiNativeUiController
    35 {
    38 {
    36 
       
    37 // Stylus activated popup command ids
    39 // Stylus activated popup command ids
    38 enum TLinkCommandID
    40 enum TLinkCommandID
    39 	{
    41 	{
    40     EAIGotoCalendarCmdLink = 1,
    42     EAIGotoCalendarCmdLink = 1,
    41     EAIShowAllProfileCmdLink,
    43     EAIShowAllProfileCmdLink,
    42     EAIProfileCmdLink
    44     EAIProfileCmdLink
    43     };
    45     };
    44 
    46 
    45 
       
    46 class CAiStatusPanel;
    47 class CAiStatusPanel;
    47 
    48 
    48 class CAiStatusPaneTouchUi : public CAiNativeRenderer,
    49 NONSHARABLE_CLASS( CAiStatusPaneTouchUi ) : public CAiNativeRenderer,
    49 							 public MAknNaviDecoratorObserver,
    50     public MAknNaviDecoratorObserver, public MEikMenuObserver					  	 	 
    50 					  	 	 public MEikMenuObserver
       
    51 	{
    51 	{
    52 
       
    53 public:
    52 public:
    54 
    53 
    55 // Construction and destructor
    54 // Construction and destructor
    56 
    55 
    57     static CAiStatusPaneTouchUi* NewL( CAiStatusPanel& aStatusPanel,
    56     static CAiStatusPaneTouchUi* NewL( CAiStatusPanel& aStatusPanel,
    70 
    69 
    71     void HandleNaviDecoratorEventL( TInt aEventID );
    70     void HandleNaviDecoratorEventL( TInt aEventID );
    72 
    71 
    73 // from base class CAiNativeRenderer
    72 // from base class CAiNativeRenderer
    74 
    73 
    75     void DoPublishL( MAiPropertyExtension& aPlugin,
    74     void DoPublishL( CHsContentPublisher& aPlugin,
    76                         TInt aContent,
    75                         TInt aContent,
    77                         const TDesC16& aText,
    76                         const TDesC16& aText,
    78                         TInt aIndex );
    77                         TInt aIndex );
    79 
    78 
    80     void LoadUIDefinitionL();
    79     void LoadUIDefinitionL();