menufw/menufwui/matrixmenu/inc/mmappui.h
changeset 1 5315654608de
parent 0 f72a12da539e
child 4 4d54b72983ae
equal deleted inserted replaced
0:f72a12da539e 1:5315654608de
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Application UI class
    14 * Description:  Application UI class
    15 *  Version     : %version: MM_83.1.2.1.23.1.18 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: MM_83.1.2.1.23.1.19 % << Don't touch! Updated by Synergy at check-out.
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 #ifndef C_MMAPPUI_H
    20 #ifndef C_MMAPPUI_H
    26 
    26 
    27 #include <e32hashtab.h>
    27 #include <e32hashtab.h>
    28 #include <aknappui.h>
    28 #include <aknappui.h>
    29 #include <akntoolbarobserver.h>
    29 #include <akntoolbarobserver.h>
    30 #include <eiklbo.h>
    30 #include <eiklbo.h>
    31 #include <hwrmdomainpskeys.h> //for flip change status
       
    32 #include <AknsSrvClient.h>
    31 #include <AknsSrvClient.h>
    33 
    32 
    34 #include "hncontrollerinterface.h"
    33 #include "hncontrollerinterface.h"
    35 #include "mmwidgetobserver.h"
    34 #include "mmwidgetobserver.h"
    36 #include "hnsuiteobserver.h"
    35 #include "hnsuiteobserver.h"
    37 #include "mmactionrequest.h"
    36 #include "mmactionrequest.h"
    38 #include "mmpropertysubscriber.h"
       
    39 #include "hnglobals.h"
    37 #include "hnglobals.h"
    40 
    38 
    41 
    39 
    42 // FORWARD DECLARATIONS
    40 // FORWARD DECLARATIONS
    43 
    41 
    74 NONSHARABLE_CLASS(CMmAppUi) : public CAknAppUi,
    72 NONSHARABLE_CLASS(CMmAppUi) : public CAknAppUi,
    75                             public MHnControllerInterface,
    73                             public MHnControllerInterface,
    76 							public MAknToolbarObserver,
    74 							public MAknToolbarObserver,
    77                             public MMmWidgetObserver,
    75                             public MMmWidgetObserver,
    78                             public MMmActionRequest,
    76                             public MMmActionRequest,
    79                             public MMmPropertyChangeObserver,
       
    80                             public MAknsSkinChangeObserver
    77                             public MAknsSkinChangeObserver
    81 	{
    78 	{
    82 
    79 
    83 public:
    80 public:
    84 
    81 
   305      * @return Number representing error code.
   302      * @return Number representing error code.
   306      */
   303      */
   307     TInt ExecuteExtensionActionL( const TUid aUid , const TDesC& aCommand,
   304     TInt ExecuteExtensionActionL( const TUid aUid , const TDesC& aCommand,
   308                 CLiwGenericParamList* aEventParamList );
   305                 CLiwGenericParamList* aEventParamList );
   309 
   306 
   310 // from MMmPropertyChangeObserver
       
   311     /**
       
   312      * Called when property changed
       
   313      * @since S60 v3.0
       
   314      */
       
   315     void PropertyChangedL(TInt aValue);
       
   316 
       
   317     /**
       
   318      * Sets the zoom for the application.
       
   319      */
       
   320     void SetZoom( TAknUiZoom aZoom );
       
   321 
       
   322     /**
   307     /**
   323      * Reloads cascade menu map.
   308      * Reloads cascade menu map.
   324      */
   309      */
   325     void ReloadCascadeMenuMapL();
   310     void ReloadCascadeMenuMapL();
   326 
       
   327 
   311 
   328     /**
   312     /**
   329      * Called by the skin server when skin content is changed and the
   313      * Called by the skin server when skin content is changed and the
   330      * connected client wants to be informed.
   314      * connected client wants to be informed.
   331      *
   315      *
   780       * Resets map of widget container to root.
   764       * Resets map of widget container to root.
   781       *
   765       *
   782       * @since S60 v5.0
   766       * @since S60 v5.0
   783       */
   767       */
   784      void ResetContainerMapToRootL();
   768      void ResetContainerMapToRootL();
   785 
       
   786      /**
       
   787       * Called to retrive flip status.
       
   788       *
       
   789       * @since S60 v5.0
       
   790       * @return Is flip open.
       
   791       */
       
   792      TBool FlipOpen();
       
   793 
   769 
   794      /**
   770      /**
   795       * Resets view to root.
   771       * Resets view to root.
   796       *
   772       *
   797       * @return ETrue if view was not displaying root suite already, EFalse otherwise
   773       * @return ETrue if view was not displaying root suite already, EFalse otherwise
   960      * Own.
   936      * Own.
   961      */
   937      */
   962     CMMExtensionManager* iMmExtManager;
   938     CMMExtensionManager* iMmExtManager;
   963 
   939 
   964 	/**
   940 	/**
   965 	 * Sliding keyboard (flip) status
       
   966 	 */
       
   967     EPSHWRMFlipStatus iKeyboardFlipStatus;
       
   968 
       
   969 	/**
       
   970 	 * Slider event subscriber
       
   971 	 * own
       
   972 	 */
       
   973     CMmPropertySubscriber* iSliderEventSubscriber;
       
   974 
       
   975     /**
       
   976      * Current zoom;
       
   977      */
       
   978     TAknUiZoom iZoom;
       
   979 
       
   980     /**
       
   981      * Screen state.
   941      * Screen state.
   982      */
   942      */
   983     TBool iScreenOn;
   943     TBool iScreenOn;
   984 
   944 
   985     /**
   945     /**