tactilefeedback/tactilefeedbackclient/src/touchfeedbackimpl.cpp
changeset 15 8c57b70b4bf3
parent 14 603911b3f166
child 17 8e4f1d643852
equal deleted inserted replaced
14:603911b3f166 15:8c57b70b4bf3
    17 */
    17 */
    18 
    18 
    19 #include <eikenv.h>
    19 #include <eikenv.h>
    20 #include <coecntrl.h>
    20 #include <coecntrl.h>
    21 #include <featmgr.h>
    21 #include <featmgr.h>
    22 #include <aknutils.h> 
    22 #include <AknUtils.h> 
    23 #include <tactilefeedbacktrace.h>
    23 #include <tactilefeedbacktrace.h>
    24 #include <touchfeedbackspec.h>
    24 #include <touchfeedbackspec.h>
    25 
    25 
    26 #include "touchfeedbackimpl.h"
    26 #include "touchfeedbackimpl.h"
    27 #include "touchfeedbackclient.h"
    27 #include "touchfeedbackclient.h"
  1730     item.iEventType = aEventType;        
  1730     item.iEventType = aEventType;        
  1731     
  1731     
  1732 	// range check. update when logical feedback types are changed.
  1732 	// range check. update when logical feedback types are changed.
  1733     if (! ( aFeedback >= ETouchFeedbackNone || aFeedback <= ETouchFeedbackSensitive) 
  1733     if (! ( aFeedback >= ETouchFeedbackNone || aFeedback <= ETouchFeedbackSensitive) 
  1734      || ! ( aFeedback >= ETouchFeedbackBasicButton || 
  1734      || ! ( aFeedback >= ETouchFeedbackBasicButton || 
  1735             aFeedback <= ETouchFeedbackMultiTouchRecognized ) )
  1735             aFeedback <= ETouchFeedbackStopFlick ) )
  1736         {
  1736         {
  1737         return KErrArgument;
  1737         return KErrArgument;
  1738         }
  1738         }
  1739     item.iFeedback = aFeedback;        
  1739     item.iFeedback = aFeedback;        
  1740     item.iFeedbackType = aFeedbackType;
  1740     item.iFeedbackType = aFeedbackType;