telutils/keysequencerecognitionservice/tsrc/shared/mock_etelmm.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     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 <QDebug>
       
    18 #include <smcmockclassincludes.h>
       
    19 #include "etelmm.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // RMobilePhone::GetMultimodeCaps
       
    27 // -----------------------------------------------------------------------------
       
    28 //
       
    29 TInt RMobilePhone::GetMultimodeCaps( 
       
    30         TUint32 & aCaps ) const
       
    31     {
       
    32     SMC_MOCK_METHOD1( TInt, TUint32 &, aCaps )
       
    33     }
       
    34 
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // RMobilePhone::GetCurrentMode
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 TInt RMobilePhone::GetCurrentMode( 
       
    41         TMobilePhoneNetworkMode & aNetworkMode ) const
       
    42     {
       
    43     SMC_MOCK_METHOD1( TInt, TMobilePhoneNetworkMode &, aNetworkMode )
       
    44     }
       
    45 
       
    46 
       
    47 // -----------------------------------------------------------------------------
       
    48 // RMobilePhone::GetSignalStrength
       
    49 // -----------------------------------------------------------------------------
       
    50 //
       
    51 void RMobilePhone::GetSignalStrength( 
       
    52         TRequestStatus & aReqStatus,
       
    53         TInt32 & aSignalStrength,
       
    54         TInt8 & aBar ) const
       
    55     {
       
    56     SMC_MOCK_METHOD3( void, TRequestStatus &, aReqStatus, 
       
    57         TInt32 &, aSignalStrength, 
       
    58         TInt8 &, aBar )
       
    59     }
       
    60 
       
    61 
       
    62 // -----------------------------------------------------------------------------
       
    63 // RMobilePhone::NotifySignalStrengthChange
       
    64 // -----------------------------------------------------------------------------
       
    65 //
       
    66 void RMobilePhone::NotifySignalStrengthChange( 
       
    67         TRequestStatus & aReqStatus,
       
    68         TInt32 & aSignalStrength,
       
    69         TInt8 & aBar ) const
       
    70     {
       
    71     SMC_MOCK_METHOD3( void, TRequestStatus &, aReqStatus, 
       
    72         TInt32 &, aSignalStrength, 
       
    73         TInt8 &, aBar )
       
    74     }
       
    75 
       
    76