tactilefeedback/tactilefeedbackresolver/plugins/tactiletoneplugin/src/tactiletoneplayer.cpp
changeset 15 8c57b70b4bf3
parent 0 d54f32e146dd
child 22 4838b44af342
equal deleted inserted replaced
14:603911b3f166 15:8c57b70b4bf3
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 #include <ecom/implementationproxy.h>
    19 #include <ecom/implementationproxy.h>
    20 #include <centralrepository.h>
    20 #include <centralrepository.h>
    21 #include <audiopreference.h>
    21 #include <AudioPreference.h>
    22 #include <profileinternal.hrh>
    22 #include <ProfileInternal.hrh>
    23 #include <MProfileEngine.h>
    23 #include <MProfileEngine.h>
    24 #include <MProfile.h>
    24 #include <MProfile.h>
    25 #include <MProfileExtraSettings.h>
    25 #include <MProfileExtraSettings.h>
    26 #include <MProfileFeedbackSettings.h>
    26 #include <MProfileFeedbackSettings.h>
    27 #include <CProfileChangeNotifyHandler.h>
    27 #include <CProfileChangeNotifyHandler.h>
   137         
   137         
   138         switch ( aFeedback )
   138         switch ( aFeedback )
   139             {
   139             {
   140             case ETouchFeedbackBasic:               // flow through
   140             case ETouchFeedbackBasic:               // flow through
   141             case ETouchFeedbackBasicButton:         // flow through
   141             case ETouchFeedbackBasicButton:         // flow through
   142             case ETouchFeedbackList:                // flow through
   142             case ETouchFeedbackBasicItem:           // flow through
   143             case ETouchFeedbackBoundaryList:        // flow through
   143             case ETouchFeedbackBounceEffect:        // flow through
   144             case ETouchFeedbackSlider:              // flow through
   144             case ETouchFeedbackBasicSlider:         // flow through
   145             case ETouchFeedbackEdit:                // flow through
   145             case ETouchFeedbackEditor:              // flow through
   146             case ETouchFeedbackSensitiveInput:
   146             case ETouchFeedbackSensitiveKeypad:
   147             case ETouchFeedbackLineSelection:       // flow through
   147             case ETouchFeedbackLineSelection:       // flow through
   148             case ETouchFeedbackBlankSelection:      // flow through
   148             case ETouchFeedbackBlankSelection:      // flow through
   149             case ETouchFeedbackTextSelection:       // flow through
   149             case ETouchFeedbackTextSelection:       // flow through
   150             case ETouchFeedbackEmptyLineSelection:  // flow through
   150             case ETouchFeedbackEmptyLineSelection:  // flow through
   151             case ETouchFeedbackTab:                 // flow through
       
   152             case ETouchFeedbackPopUp:               // flow through
   151             case ETouchFeedbackPopUp:               // flow through
   153             case ETouchFeedbackIncreasingPopUp:     // flow through
   152             case ETouchFeedbackPopupOpen:           // flow through
   154             case ETouchFeedbackDecreasingPopUp:     // flow through
   153             case ETouchFeedbackPopupClose:          // flow through
   155             case ETouchFeedbackFlick:               // flow through
   154             case ETouchFeedbackItemScroll:          // flow through
   156             case ETouchFeedbackCheckbox:            // flow through
   155             case ETouchFeedbackCheckbox:            // flow through
   157             case ETouchFeedbackCharacterInputButton:
   156             case ETouchFeedbackMultitouchActivate:
   158             case ETouchFeedbackMultiTouchRecognized:
       
   159                 effectIndex = 0;
   157                 effectIndex = 0;
   160                 break;
   158                 break;
   161             case ETouchFeedbackSensitive:           // flow through
   159             case ETouchFeedbackSensitive:           // flow through
   162             case ETouchFeedbackSensitiveButton:     // flow through
   160             case ETouchFeedbackSensitiveButton:     // flow through
   163             case ETouchFeedbackSensitiveList:      
   161             case ETouchFeedbackSensitiveItem:      
   164                 effectIndex = 1;                    
   162                 effectIndex = 1;                    
   165                 break;                              
   163                 break;                              
   166             default:                                
   164             default:                                
   167                 effectIndex = 0;                    
   165                 effectIndex = 0;                    
   168                 break;                              
   166                 break;