commonuis/CommonUi/src/ItemFinder.cpp
branchRCL_3
changeset 10 3d340a0166ff
parent 7 08e69e956a8c
child 19 aecbbf00d063
--- a/commonuis/CommonUi/src/ItemFinder.cpp	Tue Apr 27 16:55:05 2010 +0300
+++ b/commonuis/CommonUi/src/ItemFinder.cpp	Tue May 11 16:27:42 2010 +0300
@@ -29,6 +29,7 @@
 #include <txtfrmat.h>
 #include <AknUtils.h> // for AknUtils
 #include <AknsUtils.h>
+#include <touchfeedback.h>
 
 // scheme recog
 #include <ecom/ecom.h>
@@ -217,6 +218,7 @@
     CRichText::ActivateParserL(this);
     iSchemeResolver = CSchemeResolver::NewL();
     iMinDigitsToFind = GetMinDigitsToFindL(); // variated.
+    iFeedback = MTouchFeedback::Instance();
     }
 
 TInt CItemFinder::GetMinDigitsToFindL()
@@ -1290,6 +1292,10 @@
             // if no item was tapped remove selection
             if ( tapped )
                 {
+                if ( iFeedback )
+                    {
+                    iFeedback->InstantFeedback( ETouchFeedbackBasicButton );       
+                    }
                 iTapPoint = tapPoint;
                 }
             else