diff -r 6b911d05207e -r bc5a64e5bc3c phoneengine/phoneservices/tsrc/shared/mock_mpecallsettersif.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneengine/phoneservices/tsrc/shared/mock_mpecallsettersif.cpp Tue Jul 06 14:15:47 2010 +0300 @@ -0,0 +1,76 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ +#include +#include "mock_mpecallsettersif.h" + +// ============================ MEMBER FUNCTIONS =============================== + +// ----------------------------------------------------------------------------- +// CPECallSettersIFMock::SetKeyCode +// ----------------------------------------------------------------------------- +// +void CPECallSettersIFMock::SetKeyCode( + const TChar & aKeyCode ) + { + SMC_MOCK_METHOD1( void, const TUint &, static_cast(aKeyCode) ) + } + + +// ----------------------------------------------------------------------------- +// CPECallSettersIFMock::SetPhoneNumber +// ----------------------------------------------------------------------------- +// +void CPECallSettersIFMock::SetPhoneNumber( + const TPEPhoneNumber & aPhoneNumber ) + { + SMC_MOCK_METHOD1( void, const TPEPhoneNumber &, aPhoneNumber ) + } + + +// ----------------------------------------------------------------------------- +// CPECallSettersIFMock::SetCallTypeCommand +// ----------------------------------------------------------------------------- +// +void CPECallSettersIFMock::SetCallTypeCommand( + const TPECallType & aCallType ) + { + SMC_MOCK_METHOD1( void, const TPECallType &, aCallType ) + } + + +// ----------------------------------------------------------------------------- +// CPECallSettersIFMock::SetContactId2 +// ----------------------------------------------------------------------------- +// +void CPECallSettersIFMock::SetContactId2( + const TInt aContactId ) + { + SMC_MOCK_METHOD1( void, const TInt, aContactId ) + } + + +// ----------------------------------------------------------------------------- +// CPECallSettersIFMock::SetServiceIdCommand +// ----------------------------------------------------------------------------- +// +void CPECallSettersIFMock::SetServiceIdCommand( + TUint32 aServiceId ) + { + SMC_MOCK_METHOD1( void, TUint32, aServiceId ) + } + +