profilesservices/MediaFileList/Src/mediafiledialog.cpp
branchRCL_3
changeset 17 3b47783fdf16
parent 16 8fcb49b86877
child 18 854ebc17f64b
equal deleted inserted replaced
16:8fcb49b86877 17:3b47783fdf16
    50 
    50 
    51 #include <avkon.loc>
    51 #include <avkon.loc>
    52 #include <mediafilelist.rsg>
    52 #include <mediafilelist.rsg>
    53 #include <mediafilelist.mbg>
    53 #include <mediafilelist.mbg>
    54 #include <data_caging_path_literals.hrh> // KDC_APP_RESOURCE_DIR
    54 #include <data_caging_path_literals.hrh> // KDC_APP_RESOURCE_DIR
       
    55 #include <touchfeedback.h>      // For MTouchFeedback
    55 
    56 
    56 
    57 
    57 
    58 
    58 
    59 
    59 
    60 
  1358         }
  1359         }
  1359 
  1360 
  1360     
  1361     
  1361     if ( folderId != KErrNotFound && aAttr != EAttrSelect )
  1362     if ( folderId != KErrNotFound && aAttr != EAttrSelect )
  1362         {
  1363         {
       
  1364         // Request vibra feedback when open the folder.
       
  1365         MTouchFeedback* feedback = MTouchFeedback::Instance();
       
  1366         if ( feedback )
       
  1367             {
       
  1368             TTouchLogicalFeedback logicalType = ETouchFeedbackList;
       
  1369             TTouchFeedbackType type = ETouchFeedbackVibra;
       
  1370             feedback->InstantFeedback( this, logicalType, type, TPointerEvent() );
       
  1371             }
       
  1372         
  1363         iBuf = KNullDesC;
  1373         iBuf = KNullDesC;
  1364         // selected list item is folder
  1374         // selected list item is folder
  1365          if ( !isPersistent )
  1375          if ( !isPersistent )
  1366             {
  1376             {
  1367             // read non-persistent folder text from database
  1377             // read non-persistent folder text from database