phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/mocks/mock_infowidgetsathandler.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     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 "infowidgetsathandler.h"
       
    20 
       
    21 // ============================ MEMBER FUNCTIONS ===============================
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // InfoWidgetSatHandler::InfoWidgetSatHandler
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 InfoWidgetSatHandler::InfoWidgetSatHandler( 
       
    28         QObject * parent )
       
    29     {
       
    30     Q_UNUSED(parent);
       
    31     }
       
    32 
       
    33 
       
    34 // -----------------------------------------------------------------------------
       
    35 // InfoWidgetSatHandler::~InfoWidgetSatHandler
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 InfoWidgetSatHandler::~InfoWidgetSatHandler(  )
       
    39     {
       
    40     
       
    41     }
       
    42 
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 // InfoWidgetSatHandler::connect
       
    46 // -----------------------------------------------------------------------------
       
    47 //
       
    48 void InfoWidgetSatHandler::connect( 
       
    49         bool connect )
       
    50     {
       
    51     SMC_MOCK_METHOD1( void, bool, connect )
       
    52     }
       
    53 
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // InfoWidgetSatHandler::satDisplayText
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 const QString & InfoWidgetSatHandler::satDisplayText(  ) const
       
    60     {
       
    61     SMC_MOCK_METHOD0( const QString & )
       
    62     }
       
    63 
       
    64 
       
    65 // -----------------------------------------------------------------------------
       
    66 // InfoWidgetSatHandler::setSatDisplayText
       
    67 // -----------------------------------------------------------------------------
       
    68 //
       
    69 void InfoWidgetSatHandler::setSatDisplayText( 
       
    70         const QString & displayText )
       
    71     {
       
    72     SMC_MOCK_METHOD1( void, const QString &, displayText )
       
    73     }
       
    74 
       
    75 
       
    76 // -----------------------------------------------------------------------------
       
    77 // InfoWidgetSatHandler::logCurrentInfo
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 void InfoWidgetSatHandler::logCurrentInfo(  )
       
    81     {
       
    82     SMC_MOCK_METHOD0( void )
       
    83     }
       
    84 
       
    85 
       
    86 // -----------------------------------------------------------------------------
       
    87 // InfoWidgetSatHandler::handleIdleModeTxtMessage
       
    88 // -----------------------------------------------------------------------------
       
    89 //
       
    90 void InfoWidgetSatHandler::handleIdleModeTxtMessage( 
       
    91         int idleResult )
       
    92     {
       
    93     SMC_MOCK_METHOD1( void, int, idleResult )
       
    94     }
       
    95 
       
    96 
       
    97 // -----------------------------------------------------------------------------
       
    98 // InfoWidgetSatHandler::handleSatError
       
    99 // -----------------------------------------------------------------------------
       
   100 //
       
   101 void InfoWidgetSatHandler::handleSatError( 
       
   102         int operation,
       
   103         int errorCode )
       
   104     {
       
   105     SMC_MOCK_METHOD2( void, int, operation, 
       
   106         int, errorCode )
       
   107     }
       
   108 
       
   109