menufw/hierarchynavigator/hnengine/inc/hnengine.h
branchRCL_3
changeset 26 1b758917cafc
parent 0 f72a12da539e
equal deleted inserted replaced
25:137ebc85284b 26:1b758917cafc
    25 #include <hwrmlight.h>
    25 #include <hwrmlight.h>
    26 
    26 
    27 #include "hnglobals.h"
    27 #include "hnglobals.h"
    28 #include "hninterface.h"
    28 #include "hninterface.h"
    29 #include "hnmdmodel.h"
    29 #include "hnmdmodel.h"
    30 #include "hninstallnotifier.h"
       
    31 
    30 
    32 class CHnMdModel;
    31 class CHnMdModel;
    33 class CHnSuiteModelContainer;
    32 class CHnSuiteModelContainer;
    34 class MHnControllerInterface;
    33 class MHnControllerInterface;
    35 class MHnSuiteObserver;
    34 class MHnSuiteObserver;
    47  * @lib hnengine
    46  * @lib hnengine
    48  * @since S60 v3.2
    47  * @since S60 v3.2
    49  */
    48  */
    50 NONSHARABLE_CLASS( CHnEngine ) : public CHnInterface,
    49 NONSHARABLE_CLASS( CHnEngine ) : public CHnInterface,
    51                   public MHnMdModelEventObserver,
    50                   public MHnMdModelEventObserver,
    52                   public MHnInstallNotifierCallback,
       
    53                   public MHWRMLightObserver
    51                   public MHWRMLightObserver
    54     {
    52     {
    55 public:
    53 public:
    56     /**
    54     /**
    57      * Standard factory method.
    55      * Standard factory method.
   145      * @return Status code.
   143      * @return Status code.
   146      */
   144      */
   147      TInt HandleBackEventL( const TDesC& aGenre,
   145      TInt HandleBackEventL( const TDesC& aGenre,
   148              TInt aIterations = KModelCountForRoot );
   146              TInt aIterations = KModelCountForRoot );
   149 
   147 
   150     // from MHNMulModelInstallNotifierCallback
       
   151 
       
   152      /**
       
   153       * InstallChangeL is called when the subscribed key has been changed.
       
   154       * 
       
   155       * @since S60 v5.0
       
   156       * @param aStatus Status of the installation event.
       
   157       */
       
   158     virtual void InstallChangeL( TInt aStatus );
       
   159     
       
   160     
       
   161     /**
   148     /**
   162      * Loads default root suite
   149      * Loads default root suite
   163      * 
   150      * 
   164      * @since S60 v5.0
   151      * @since S60 v5.0
   165      * @param aSuiteParams Suite parameters.
   152      * @param aSuiteParams Suite parameters.
   387       *
   374       *
   388       * @since S60 5.0
   375       * @since S60 5.0
   389       * @param aUriFragment Descriptor containig parsed part of the uri.
   376       * @param aUriFragment Descriptor containig parsed part of the uri.
   390       */
   377       */
   391      void HighlightPlacementFromUriL( const TDesC8& aUriFragment );
   378      void HighlightPlacementFromUriL( const TDesC8& aUriFragment );
   392     
   379 
   393      
   380 
   394      /**
   381      /**
   395       * Loads folder and sets focus through CR.
   382       * Loads folder and sets focus through CR.
   396       * 
   383       *
   397       * @since S60 v5.0
   384       * @since S60 v5.0
   398       */
   385       */
   399      void LoadFromCrL( const TDesC8& aUri );
   386      void LoadFromCrL( const TDesC8& aUri );
   400      
   387 
   401      /**
   388      /**
   402       * Handles loading suite from uri if suites names' are the same.
   389       * Handles loading suite from uri if suites names' are the same.
   403       * 
   390       * 
   404       * @param aNextExists ETrue if the next suite's name exists in uri.
   391       * @param aNextExists ETrue if the next suite's name exists in uri.
   405       * @param aUri The URI's parameters passed to the suite. 
   392       * @param aUri The URI's parameters passed to the suite. 
   450     
   437     
   451     /**
   438     /**
   452      * Not own - Suite observer.
   439      * Not own - Suite observer.
   453      */
   440      */
   454     MHnControllerInterface& iControllerInterface;
   441     MHnControllerInterface& iControllerInterface;
   455     
   442 
   456     /**
       
   457      * Installation observer.
       
   458      * Own.
       
   459      */
       
   460     CHnInstallNotifier* iInstObserver;
       
   461     
       
   462     /**
   443     /**
   463      * Edit mode
   444      * Edit mode
   464      */
   445      */
   465     TBool iEditMode;
   446     TBool iEditMode;
   466     
   447