uiaccelerator_plat/alf_client_server_api/inc/alf/alfappui.h
branchRCL_3
changeset 10 7c5dd702d6d3
parent 9 3ac8bf5c5014
child 12 f93c875b566e
equal deleted inserted replaced
9:3ac8bf5c5014 10:7c5dd702d6d3
    52 /**
    52 /**
    53  *  Application UI class.
    53  *  Application UI class.
    54  *
    54  *
    55  *  @since S60 v3.2
    55  *  @since S60 v3.2
    56  */
    56  */
    57 NONSHARABLE_CLASS(CAlfAppUi) : public CAknAppUi, public MAlfSrvSettingsObserver
    57 NONSHARABLE_CLASS(CAlfAppUi) : public CBase, public MAlfSrvSettingsObserver
    58     {
    58     {
    59 
    59 
    60 public: // new methods 
    60 public: // new methods 
    61     
    61     
    62     /**
    62     /**
   119     /**
   119     /**
   120      * From CAknAppUi.
   120      * From CAknAppUi.
   121      * 2nd phase constructor. Called by the framework after 
   121      * 2nd phase constructor. Called by the framework after 
   122      * the 1st phase construction.
   122      * the 1st phase construction.
   123      */
   123      */
   124     IMPORT_C void ConstructL();
   124     IMPORT_C virtual void ConstructL();
   125     
   125     
   126     /**
   126     /**
   127      * From CAknAppUi.
   127      * From CAknAppUi.
   128      * Called by the frawework when a system event is received.
   128      * Called by the frawework when a system event is received.
   129      *
   129      *
   130      * @param aEvent Occurred event.
   130      * @param aEvent Occurred event.
   131      */
   131      */
   132     IMPORT_C void HandleSystemEventL(const TWsEvent& aEvent);
   132     IMPORT_C virtual void HandleSystemEventL(const TWsEvent& aEvent);
   133 
   133 
   134     /**
   134     /**
   135      * From CAknAppUi.
   135      * From CAknAppUi.
   136      * Called by the frawework when a system event is received.
   136      * Called by the frawework when a system event is received.
   137      *
   137      *
   138      * @param aEvent Occurred event.
   138      * @param aEvent Occurred event.
   139      */    
   139      */    
   140     IMPORT_C void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination);
   140     IMPORT_C virtual void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination);
   141     
   141     
   142     /**
   142     /**
   143      * From CAknAppUi.
   143      * From CAknAppUi.
   144      * Called when framework calls rendezvous.
   144      * Called when framework calls rendezvous.
   145      *
   145      *
   146      * @return ETrue. Meaning the framework will synchronize the application to the starter
   146      * @return ETrue. Meaning the framework will synchronize the application to the starter
   147      */
   147      */
   148     IMPORT_C TBool FrameworkCallsRendezvous() const;
   148     IMPORT_C virtual TBool FrameworkCallsRendezvous() const;
   149     
   149     
   150     /**
   150     /**
   151      * From CAknAppUi.
   151      * From CAknAppUi.
   152      * Called when system resources changes.
   152      * Called when system resources changes.
   153      *
   153      *
   154      * @param aType Changed resource. 
   154      * @param aType Changed resource. 
   155      */
   155      */
   156     IMPORT_C void HandleResourceChangeL( TInt aType );
   156     IMPORT_C virtual void HandleResourceChangeL( TInt aType );
   157    
   157    
   158    /**
   158    /**
   159      * From CAknAppUi.
   159      * From CAknAppUi.
   160      * Called by the frawework when a command is received.
   160      * Called by the frawework when a command is received.
   161      *
   161      *
   162      * @param aCommand The command
   162      * @param aCommand The command
   163      */
   163      */
   164     IMPORT_C void HandleCommandL(TInt aCommand);
   164     IMPORT_C virtual void HandleCommandL(TInt aCommand);
   165     
   165     
   166     void MAlfSrvUintSettingChangedL( TAlfSrvSetting aSetting, TUint aNewValue );
   166     void MAlfSrvUintSettingChangedL( TAlfSrvSetting aSetting, TUint aNewValue );
   167     
   167     
   168     /**
   168     /**
   169      * Posts QTcommand  buffer from clientwindow  to CanvasVisual
   169      * Posts QTcommand  buffer from clientwindow  to CanvasVisual