diff -r a184f3d659e6 -r 4c163c82e7ad tsrc/telephonyaudioroutingstub/inc/telephonyaudiorouting.h --- a/tsrc/telephonyaudioroutingstub/inc/telephonyaudiorouting.h Wed Mar 31 21:25:43 2010 +0300 +++ b/tsrc/telephonyaudioroutingstub/inc/telephonyaudiorouting.h Wed Apr 14 15:53:49 2010 +0300 @@ -56,7 +56,7 @@ static CTelephonyAudioRouting* NewL( MTelephonyAudioRoutingObserver& aObserver ); - ~CTelephonyAudioRouting(); + virtual ~CTelephonyAudioRouting(); /** * Returns array of currently available outputs. @@ -74,7 +74,7 @@ * @param none. * @return TArray& Array of available outputs. */ - const TArray& AvailableOutputs(); + virtual const TArray& AvailableOutputs(); /** * Returns the current output configured by the client application to play @@ -94,7 +94,7 @@ * @param none. * @return TAudioOutput Current output. */ - TAudioOutput Output(); + virtual TAudioOutput Output(); /** * Sends an asynchronous request to Adaptation to set the output @@ -118,7 +118,7 @@ * of the outputs from AvailableOutputs() list or ENotActive. * @return none. */ - void SetOutputL( TAudioOutput aOutput = ENotActive ); + virtual void SetOutputL( TAudioOutput aOutput = ENotActive ); /** * Returns the second last output that was successfully configured to @@ -137,7 +137,7 @@ * audio. ENone will never be returned since telephony apps cannot call * SetOutputL(ENone). */ - TAudioOutput PreviousOutput(); + virtual TAudioOutput PreviousOutput(); /* * Sends the Show Note mode to server along with the next SetOutputL() @@ -155,7 +155,7 @@ * @param TBool aMode Show Note mode. ETrue or EFalse. * @return KErrNone if succesfull, otherwise system-wide error code. */ - TInt SetShowNote( TBool aMode ); + virtual TInt SetShowNote( TBool aMode ); /* * Returns the the Show Note mode for the last succesfully completed @@ -182,7 +182,7 @@ * Show Note mode. EFalse or ETrue. * @return KErrNone if succesfull, otherwise system-wide error code. */ - TInt GetShowNote( TBool& aMode ); + virtual TInt GetShowNote( TBool& aMode ); private: