javauis/lcdui_akn/lcdui/inc/CMIDCustomItem.h
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    33 
    33 
    34 #ifdef RD_TACTILE_FEEDBACK
    34 #ifdef RD_TACTILE_FEEDBACK
    35 #include "CMIDTactileFeedbackExtension.h"
    35 #include "CMIDTactileFeedbackExtension.h"
    36 #endif //RD_TACTILE_FEEDBACK
    36 #endif //RD_TACTILE_FEEDBACK
    37 
    37 
       
    38 
    38 // FORWARD DECLARATIONS
    39 // FORWARD DECLARATIONS
    39 class CMIDRemConObserver;
    40 class CMIDRemConObserver;
    40 class CMIDKeyDecoder;
    41 class CMIDKeyDecoder;
    41 class CEikLabel;
    42 class CEikLabel;
    42 
    43 
    46 #endif
    47 #endif
    47         public MMIDBufferProcessor, public MDirectContainer, public MMIDMediaKeysListener
    48         public MMIDBufferProcessor, public MDirectContainer, public MMIDMediaKeysListener
    48 #ifdef RD_TACTILE_FEEDBACK
    49 #ifdef RD_TACTILE_FEEDBACK
    49         , public MMIDTactileFeedbackComponent
    50         , public MMIDTactileFeedbackComponent
    50 #endif // RD_TACTILE_FEEDBACK
    51 #endif // RD_TACTILE_FEEDBACK
    51 
    52         , public MMIDLcduiEventConsumer
    52 {
    53 {
    53 public:
    54 public:
    54     static CMIDCustomItem* NewL(MMIDEnv& aEnv, const TDesC& aLabel, CMIDUIManager* aUIManager);
    55     static CMIDCustomItem* NewL(MMIDEnv& aEnv, const TDesC& aLabel, CMIDUIManager* aUIManager);
    55 
    56 
    56     TBool           SupportsInternalTraversal() const;
    57     TBool           SupportsInternalTraversal() const;
   229     void MdcFlushContainer(const TRect& aRect);
   230     void MdcFlushContainer(const TRect& aRect);
   230     void MdcAddContentBounds(const TRect& aRect);
   231     void MdcAddContentBounds(const TRect& aRect);
   231     void MdcRemoveContentBounds(const TRect& aRect);
   232     void MdcRemoveContentBounds(const TRect& aRect);
   232     void MdcGetDSAResources(MUiEventConsumer& aConsumer);
   233     void MdcGetDSAResources(MUiEventConsumer& aConsumer);
   233     void MdcGetUICallback(MUiEventConsumer& aConsumer, TInt aCallbackId);
   234     void MdcGetUICallback(MUiEventConsumer& aConsumer, TInt aCallbackId);
       
   235     
       
   236     /**
       
   237      * From MDirectContainer.     
       
   238      *
       
   239      * @since  S60 v9.2
       
   240      * @param TBool aEnableFix
       
   241      */    
       
   242     void MdcFixUIOrientation(TBool aEnableFix);
       
   243      
       
   244 // From MMIDLcduiEventConsumer
       
   245 public: 
       
   246     void HandleLcduiEvent(int aType);
   234 
   247 
   235 // From MMIDMediaKeysListener
   248 // From MMIDMediaKeysListener
   236 public:
   249 public:
   237     /**
   250     /**
   238      * This method is called when a media key has been pressed.
   251      * This method is called when a media key has been pressed.
   333      * Stores the last window position as returned
   346      * Stores the last window position as returned
   334      * from DrawableWindow()->Position() to be useful
   347      * from DrawableWindow()->Position() to be useful
   335      * from another than MMAPI ES thread.
   348      * from another than MMAPI ES thread.
   336      */
   349      */
   337     TPoint iLastWindowPosition;
   350     TPoint iLastWindowPosition;
       
   351  
       
   352     /**
       
   353      * using for Items on Form
       
   354      * checking if Form was created
       
   355      */    
       
   356     TBool iUiFixed;
       
   357     TBool iUiToBeFixedLater;
   338 
   358 
   339 };
   359 };
   340 
   360 
   341 #endif // CMIDCUSTOMITEM_H
   361 #endif // CMIDCUSTOMITEM_H
   342 
   362