uifw/AvKon/src/akncombinedpane.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 15 08e69e956a8c
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
    23 #include <avkon.hrh>
    23 #include <avkon.hrh>
    24 #include <AknPriv.hrh>
    24 #include <AknPriv.hrh>
    25 #include <AknSmallIndicator.h>
    25 #include <AknSmallIndicator.h>
    26 #include <aknappui.h>
    26 #include <aknappui.h>
    27 #include <uikon/eikdefmacros.h>
    27 #include <uikon/eikdefmacros.h>
       
    28 #include <touchfeedback.h>
    28 
    29 
    29 #include "akncombinedpane.h"
    30 #include "akncombinedpane.h"
    30 #include "aknstatuspanedatasubscriber.h"
    31 #include "aknstatuspanedatasubscriber.h"
    31 
    32 
    32 // This is used to calculate the amount of pixels that the subpanes are
    33 // This is used to calculate the amount of pixels that the subpanes are
   190                 {
   191                 {
   191                 // Display the universal indicator popup.
   192                 // Display the universal indicator popup.
   192                 CAknSmallIndicator* indicatorNotifier =
   193                 CAknSmallIndicator* indicatorNotifier =
   193                     CAknSmallIndicator::NewLC( TUid::Uid( 0 ) );
   194                     CAknSmallIndicator::NewLC( TUid::Uid( 0 ) );
   194                 indicatorNotifier->HandleIndicatorTapL();
   195                 indicatorNotifier->HandleIndicatorTapL();
       
   196                 //for indicator popup event
       
   197                 MTouchFeedback* feedback = MTouchFeedback::Instance();
       
   198                 if ( feedback )
       
   199                     {
       
   200                     feedback->InstantFeedback(
       
   201                                        this,
       
   202                                        ETouchFeedbackPopUp,
       
   203                                        ETouchFeedbackVibra,
       
   204                                        aPointerEvent );
       
   205                     }
   195                 CleanupStack::PopAndDestroy( indicatorNotifier );
   206                 CleanupStack::PopAndDestroy( indicatorNotifier );
   196                 }
   207                 }
   197             
   208             
   198             iPointerDownInCombinedArea = EFalse;
   209             iPointerDownInCombinedArea = EFalse;
   199             break;
   210             break;