phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/mocks/mock_infowidgetnetworkhandler.cpp
author Pat Downey <patd@symbian.org>
Fri, 04 Jun 2010 10:19:18 +0100
changeset 37 ba76fc04e6c2
permissions -rw-r--r--
Revert last code drop.

/* 
* 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 <QDebug>
#include <smcmockclassincludes.h>
#include <networkhandlingproxy.h>
#include <cnwsession.h>
#include "infowidgetnetworkhandler.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::InfoWidgetNetworkHandler
// -----------------------------------------------------------------------------
//
InfoWidgetNetworkHandler::InfoWidgetNetworkHandler( 
        QObject * parent )
    : 
    QObject(parent), 
    m_nwSession(0)
    {
    
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::~InfoWidgetNetworkHandler
// -----------------------------------------------------------------------------
//
InfoWidgetNetworkHandler::~InfoWidgetNetworkHandler(  )
    {
    
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::serviceProviderName
// -----------------------------------------------------------------------------
//
QString InfoWidgetNetworkHandler::serviceProviderName(  ) const
    {
    SMC_MOCK_METHOD0( QString )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::serviceProviderNameDisplayRequired
// -----------------------------------------------------------------------------
//
bool InfoWidgetNetworkHandler::serviceProviderNameDisplayRequired(  ) const
    {
    SMC_MOCK_METHOD0( bool )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::homeZoneTextTag
// -----------------------------------------------------------------------------
//
QString InfoWidgetNetworkHandler::homeZoneTextTag(  ) const
    {
    SMC_MOCK_METHOD0( QString )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::homeZoneIndicatorType
// -----------------------------------------------------------------------------
//
int InfoWidgetNetworkHandler::homeZoneIndicatorType(  ) const
    {
    SMC_MOCK_METHOD0( int )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::mcnName
// -----------------------------------------------------------------------------
//
QString InfoWidgetNetworkHandler::mcnName(  ) const
    {
    SMC_MOCK_METHOD0( QString )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::mcnIndicatorType
// -----------------------------------------------------------------------------
//
int InfoWidgetNetworkHandler::mcnIndicatorType(  ) const
    {
    SMC_MOCK_METHOD0( int )
    }
    
// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::networkRegistrationStatus
// -----------------------------------------------------------------------------
//
int InfoWidgetNetworkHandler::networkRegistrationStatus(  ) const
    {
    SMC_MOCK_METHOD0( int )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::isOnline
// -----------------------------------------------------------------------------
//
bool InfoWidgetNetworkHandler::isOnline(  ) const
    {
    SMC_MOCK_METHOD0( bool )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::logCurrentInfo
// -----------------------------------------------------------------------------
//
void InfoWidgetNetworkHandler::logCurrentInfo(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::HandleNetworkMessage
// -----------------------------------------------------------------------------
//
void InfoWidgetNetworkHandler::HandleNetworkMessage( 
        const TNWMessages aMessage )
    {
    SMC_MOCK_METHOD1( void, const TNWMessages, aMessage )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::HandleNetworkError
// -----------------------------------------------------------------------------
//
void InfoWidgetNetworkHandler::HandleNetworkError( 
        const TNWOperation aOperation,
        TInt aErrorCode )
    {
    SMC_MOCK_METHOD2( void, const TNWOperation, aOperation, 
        TInt, aErrorCode )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::suspend
// -----------------------------------------------------------------------------
//
void InfoWidgetNetworkHandler::suspend(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::resume
// -----------------------------------------------------------------------------
//
void InfoWidgetNetworkHandler::resume(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::enableMcn
// -----------------------------------------------------------------------------
//
void InfoWidgetNetworkHandler::enableMcn(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::disableMcn
// -----------------------------------------------------------------------------
//
void InfoWidgetNetworkHandler::disableMcn(  )
    {
    SMC_MOCK_METHOD0( void )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::writeMcnDisplayState
// -----------------------------------------------------------------------------
//
void InfoWidgetNetworkHandler::writeMcnDisplayState( 
        bool enabled )
    {
    SMC_MOCK_METHOD1( void, bool, enabled )
    }


// -----------------------------------------------------------------------------
// InfoWidgetNetworkHandler::readMcnDisplayState
// -----------------------------------------------------------------------------
//
bool InfoWidgetNetworkHandler::readMcnDisplayState(  )
    {
    SMC_MOCK_METHOD0( bool )
    }