tsrc/telephonyaudioroutingstub/src/telephonyaudioroutingstub.cpp
branchRCL_3
changeset 22 73a1feb507fb
parent 14 0da2e08216b6
child 23 bc78a40cd63c
equal deleted inserted replaced
21:33a5d2bbf6fc 22:73a1feb507fb
    17 
    17 
    18 
    18 
    19 #include <telephonyaudiorouting.h>
    19 #include <telephonyaudiorouting.h>
    20 
    20 
    21 
    21 
    22 
       
    23 CTelephonyAudioRouting::TAudioOutput CTelephonyAudioRouting::iCurrentOutput =
       
    24         CTelephonyAudioRouting::ENone;
       
    25 CTelephonyAudioRouting::TAudioOutput CTelephonyAudioRouting::iPreviousOutput = 
       
    26         CTelephonyAudioRouting::ENone;
       
    27 
    22 
    28 
    23 
    29 // ============================ MEMBER FUNCTIONS ===============================
    24 // ============================ MEMBER FUNCTIONS ===============================
    30 
    25 
    31 
    26 
    89         TInt leaveValue = iForceFailWithCode;
    84         TInt leaveValue = iForceFailWithCode;
    90         iForceFailWithCode = KErrNone;
    85         iForceFailWithCode = KErrNone;
    91         User::Leave( leaveValue );
    86         User::Leave( leaveValue );
    92         }
    87         }
    93         
    88         
    94     iPreviousOutput = iCurrentOutput;
       
    95     iCurrentOutput = aOutput;
    89     iCurrentOutput = aOutput;
    96     }
    90     }
    97 
    91 
    98 
    92 
    99 // -----------------------------------------------------------------------------
    93 // -----------------------------------------------------------------------------