sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Example implementation of RDvbhReceiver::RBody for the unit test stub sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: @prototype sl@0: */ sl@0: sl@0: #include "dvbhreceiverbody.h" sl@0: #include sl@0: sl@0: RDvbhReceiver::RBody::RBody() sl@0: : RBusLogicalChannel() sl@0: { sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::GetDriverVersion( TVersion& /*aVersion*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::GetSupportedReceiverTypes( RArray& /* aReceiverTypes */ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::Open( const TDvbhReceiverType /* aReceiverType */ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::Close() sl@0: { sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::PowerOn( TRequestStatus& /* aStatus */ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::CancelPowerOn() sl@0: { sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::PowerOff( TRequestStatus& /* aStatus */ ) sl@0: { sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::CancelPowerOff() sl@0: { sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::SetDisabled( TBool /*aDisable*/, TRequestStatus& /* aStatus */ ) sl@0: { sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::CancelSetDisabled() sl@0: { sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::SetScanConfiguration( const TDvbhScanConfiguration& /*aScanConfiguration*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::GetScanConfiguration( TDvbhScanConfiguration& /*aScanConfiguration*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::GetDvbhVersion( TVersion& /*aVersion*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::GetHardwareInfo( TDvbhHardwareInfo& /*aHardwareInfo*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::Scan( MDvbhScanObserver& /*aObserver*/, TRequestStatus& /*aStatus*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::CancelScan() sl@0: { sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::SetPlatform( const TDvbhNetwork& /*aNetwork*/, const TDvbhPlatform& /*aPlatform*/, TRequestStatus& /*aStatus*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::CancelSetPlatform() sl@0: { sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::CreateFilter( const TIp6Addr& /*aSourceAddress*/, TInt& /*aFilterId*/, TRequestStatus& /*aStatus*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::CancelFilter( TInt /*aFilterId*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::ReceiveIPData( MDvbhDataObserver& /*aObserver*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::CancelReceiveIPData() sl@0: { sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::UpdateNetworkTime( TRequestStatus& /*aStatus*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::CancelUpdateNetworkTime() sl@0: { sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::CustomCommand( sl@0: TInt /*aCommand*/, sl@0: const TDesC8& /*aInputData*/, sl@0: TDes8& /*aOutputBuffer*/, sl@0: TRequestStatus& /*aStatus*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void RDvbhReceiver::RBody::CancelCustomCommand( TRequestStatus& /*aStatus*/ ) sl@0: { sl@0: } sl@0: sl@0: TInt RDvbhReceiver::RBody::CustomCommand( TInt /*aCommand*/, const TDesC8& /*aInputData*/ ) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: sl@0: sl@0: