videoplayback/videohelix/src/mpxcalldetector.cpp
changeset 66 adb51f74b890
parent 58 d2b028fd1f7d
equal deleted inserted replaced
63:4707a0db12f6 66:adb51f74b890
    13 *
    13 *
    14 * Description:  
    14 * Description:  
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 1 %
    18 // Version : %version: 2 %
    19 
    19 
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    21 #include <ctsydomainpskeys.h>
    21 #include <ctsydomainpskeys.h>
    22 
    22 
    23 #include "mpxcalldetector.h"
    23 #include "mpxcalldetector.h"
    99     
    99     
   100     RequestNotification();
   100     RequestNotification();
   101     
   101     
   102     if ( status == KErrNone )
   102     if ( status == KErrNone )
   103     {
   103     {
   104         TInt status;
   104         TInt callStatus;
   105         iTsyProperty.Get( status );
   105         iTsyProperty.Get( callStatus );
   106         
   106         
   107         if ( status != EPSCTsyCallStateNone )
   107         if ( callStatus != EPSCTsyCallStateNone && callStatus != EPSCTsyCallStateDisconnecting )
   108         {
   108         {
   109             iObserver->CallDetectedL();
   109             iObserver->CallDetectedL();
   110         }
   110         }
   111     }
   111     }
   112 }
   112 }