phoneengine/phoneservices/tsrc/shared/mock_mpecallsettersif.cpp
changeset 46 bc5a64e5bc3c
equal deleted inserted replaced
45:6b911d05207e 46:bc5a64e5bc3c
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #include <smcmockclassincludes.h>
       
    18 #include "mock_mpecallsettersif.h"
       
    19 
       
    20 // ============================ MEMBER FUNCTIONS ===============================
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // CPECallSettersIFMock::SetKeyCode
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 void CPECallSettersIFMock::SetKeyCode( 
       
    27         const TChar & aKeyCode )
       
    28     {
       
    29     SMC_MOCK_METHOD1( void, const TUint &, static_cast<TUint>(aKeyCode) )
       
    30     }
       
    31 
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // CPECallSettersIFMock::SetPhoneNumber
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 void CPECallSettersIFMock::SetPhoneNumber( 
       
    38         const TPEPhoneNumber & aPhoneNumber )
       
    39     {
       
    40     SMC_MOCK_METHOD1( void, const TPEPhoneNumber &, aPhoneNumber )
       
    41     }
       
    42 
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 // CPECallSettersIFMock::SetCallTypeCommand
       
    46 // -----------------------------------------------------------------------------
       
    47 //
       
    48 void CPECallSettersIFMock::SetCallTypeCommand( 
       
    49         const TPECallType & aCallType )
       
    50     {
       
    51     SMC_MOCK_METHOD1( void, const TPECallType &, aCallType )
       
    52     }
       
    53 
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // CPECallSettersIFMock::SetContactId2
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 void CPECallSettersIFMock::SetContactId2( 
       
    60         const TInt aContactId )
       
    61     {
       
    62     SMC_MOCK_METHOD1( void, const TInt, aContactId )
       
    63     }
       
    64 
       
    65 
       
    66 // -----------------------------------------------------------------------------
       
    67 // CPECallSettersIFMock::SetServiceIdCommand
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 void CPECallSettersIFMock::SetServiceIdCommand( 
       
    71         TUint32 aServiceId )
       
    72     {
       
    73     SMC_MOCK_METHOD1( void, TUint32, aServiceId )
       
    74     }
       
    75 
       
    76