mmsharing/mmshui/inc/musuieventcontroller.h
branchRCL_3
changeset 11 ff8a573c0e2e
parent 0 f0cf47e981f9
child 16 71306c87785a
equal deleted inserted replaced
10:04980be5c5fe 11:ff8a573c0e2e
    28 #include "musuimmcobserver.h"
    28 #include "musuimmcobserver.h"
    29 #include "musunittesting.h"
    29 #include "musunittesting.h"
    30 
    30 
    31 #include "musengsessionobserver.h"
    31 #include "musengsessionobserver.h"
    32 #include "musengaudioroutingobserver.h"
    32 #include "musengaudioroutingobserver.h"
       
    33 #include "musengvolumechangeobserver.h"
    33 
    34 
    34 #include <aknappui.h>        // CAknAppUiBase::TAppUiOrientation
    35 #include <aknappui.h>        // CAknAppUiBase::TAppUiOrientation
    35 
    36 
    36 class CMusUiCallbackService;
    37 class CMusUiCallbackService;
    37 class MMusUiEventObserver;
    38 class MMusUiEventObserver;
    55 class CMusUiEventController : public CBase, 
    56 class CMusUiEventController : public CBase, 
    56                               public MMusUiPropertyObserver, 
    57                               public MMusUiPropertyObserver, 
    57                               public MMusUiCallbackObserver,
    58                               public MMusUiCallbackObserver,
    58                               public MMusUiMmcObserver,
    59                               public MMusUiMmcObserver,
    59                               public MMusEngSessionObserver,
    60                               public MMusEngSessionObserver,
    60                               public MMusEngAudioRoutingObserver
    61                               public MMusEngAudioRoutingObserver,
       
    62                               public MMusEngVolumeChangeObserver
    61     {
    63     {
    62 
    64 
    63 public: // enumerations
    65 public: // enumerations
    64 
    66 
    65     enum TMusUiShutdownState
    67     enum TMusUiShutdownState
   155     * Before doing audio routing, permission is asked
   157     * Before doing audio routing, permission is asked
   156     *
   158     *
   157     */
   159     */
   158     virtual TBool AudioRouteChangeAllowed() const;
   160     virtual TBool AudioRouteChangeAllowed() const;
   159     
   161     
       
   162 public: // From MMusEngVolumeChangeObserver
       
   163     
       
   164     /**
       
   165     * Indicates that some other application has changed volume level.
       
   166     *
       
   167     */
       
   168     virtual void VolumeChanged( TInt aVolume, TBool aAudioRouteChanged );
       
   169     
   160 
   170 
   161 public:	// New functions
   171 public:	// New functions
   162 	
   172 	
   163 	/**
   173 	/**
   164     * 
   174     * 
   293     
   303     
   294     /**
   304     /**
   295     * 
   305     * 
   296     */
   306     */
   297     virtual void DeleteEngineSession() = 0;
   307     virtual void DeleteEngineSession() = 0;
       
   308       
       
   309     /**
       
   310     * 
       
   311     */
       
   312     TBool IsDisplayEnabledL();
   298     
   313     
   299 
   314 
   300 protected:    // New functions
   315 protected:    // New functions
   301 
   316 
   302     /**
   317     /**