mpx/playbackframework/playbackengine/inc/mpxautoresumehandler.h
branchRCL_3
changeset 17 780c925249c1
parent 0 a2952bb97e68
equal deleted inserted replaced
15:d240f0a77280 17:780c925249c1
   134     /**
   134     /**
   135     * Checks if current player is remote: playback shouldn't be paused
   135     * Checks if current player is remote: playback shouldn't be paused
   136     * in that case
   136     * in that case
   137     */
   137     */
   138     TBool IsPlaybackRemote();
   138     TBool IsPlaybackRemote();
       
   139     
       
   140     /**
       
   141     * Handle change in voice command state. 
       
   142     */
       
   143     void DoHandleVoiceCmdChange();
   139 
   144 
   140 private: // data
   145 private: // data
   141     CMPXPlaybackEngine&  iEngine;
   146     CMPXPlaybackEngine&  iEngine;
   142     TBool iMixerSupport;
   147     TBool iMixerSupport;
   143     TBool iPausedForCall;
   148     TBool iPausedForCall;
   146     TTime iKErrDiedTime;
   151     TTime iKErrDiedTime;
   147     TBool iAutoResume;
   152     TBool iAutoResume;
   148 
   153 
   149     // Timer for resume operation. Owned.
   154     // Timer for resume operation. Owned.
   150     CPeriodic* iResumeTimer;
   155     CPeriodic* iResumeTimer;
       
   156     
       
   157     CMPXPSKeyWatcher* iVoiceCmdObserver;  // owned
       
   158     TBool iPausedForVoiceCmd;
       
   159     TBool iVoiceCmdResumeOngoing;
   151     };
   160     };
   152 
   161 
   153 #endif      // CMPXAUTORESUMEHANDLER_H   
   162 #endif      // CMPXAUTORESUMEHANDLER_H   
   154             
   163             
   155 // End of File
   164 // End of File