tactilefeedback/tactilefeedbackresolver/inc/tactilefeedbackresolver.h
branchRCL_3
changeset 12 63c33341dc19
parent 0 d54f32e146dd
child 21 f35d4b6d212e
child 24 90362ffca16a
equal deleted inserted replaced
11:e0d1d1629961 12:63c33341dc19
   204     /**
   204     /**
   205      * Create audio player. ECom implementation uid is used for selecting
   205      * Create audio player. ECom implementation uid is used for selecting
   206      * the player plugin.
   206      * the player plugin.
   207      */    
   207      */    
   208     void CreateAudioPlayerL( TUid aAudioUid );
   208     void CreateAudioPlayerL( TUid aAudioUid );
   209      
   209 
       
   210     /**
       
   211      * Return ETrue if aFeedback's priority is higher than current playing
       
   212      * feedback, namely iLastFeedback.
       
   213      *
       
   214      * TODO: Currently, we only take Popup and Button effects into
       
   215      * account. Ultimately, a complete priority queue should be set up.
       
   216      */
       
   217     TBool IsHigherThanPlaying ( TTouchLogicalFeedback aFeedback ) const;
       
   218     
   210 private: // data
   219 private: // data
   211 
   220 
   212     /**
   221     /**
   213      * Access to the P&S property, which is used for temporary disabling
   222      * Access to the P&S property, which is used for temporary disabling
   214      * the feedback.
   223      * the feedback.
   277      * This flag determinates the playing order of feedback types.
   286      * This flag determinates the playing order of feedback types.
   278      * ETrue  - vibra feedback is played first.
   287      * ETrue  - vibra feedback is played first.
   279      * EFalse - audio feedback is played first.
   288      * EFalse - audio feedback is played first.
   280      */
   289      */
   281     TBool iVibraFirst;
   290     TBool iVibraFirst;
       
   291 
       
   292     /**
       
   293      * Name of the last played feedback.
       
   294      * 
       
   295      */
       
   296     TTouchLogicalFeedback iLastFeedback;
   282     };
   297     };
   283 
   298 
   284 
   299 
   285 #endif // C_TACTILEFEEDBACKPLAYER_H
   300 #endif // C_TACTILEFEEDBACKPLAYER_H