Update contrib.
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Example implementation of RDvbhReceiver::RBody for the unit test stub
24 #include "dvbhreceiverbody.h"
27 RDvbhReceiver::RBody::RBody()
28 : RBusLogicalChannel()
32 TInt RDvbhReceiver::RBody::GetDriverVersion( TVersion& /*aVersion*/ )
34 return KErrNotSupported;
37 TInt RDvbhReceiver::RBody::GetSupportedReceiverTypes( RArray<TDvbhReceiverType>& /* aReceiverTypes */ )
39 return KErrNotSupported;
42 TInt RDvbhReceiver::RBody::Open( const TDvbhReceiverType /* aReceiverType */ )
44 return KErrNotSupported;
47 void RDvbhReceiver::RBody::Close()
51 TInt RDvbhReceiver::RBody::PowerOn( TRequestStatus& /* aStatus */ )
53 return KErrNotSupported;
56 void RDvbhReceiver::RBody::CancelPowerOn()
60 void RDvbhReceiver::RBody::PowerOff( TRequestStatus& /* aStatus */ )
64 void RDvbhReceiver::RBody::CancelPowerOff()
68 void RDvbhReceiver::RBody::SetDisabled( TBool /*aDisable*/, TRequestStatus& /* aStatus */ )
72 void RDvbhReceiver::RBody::CancelSetDisabled()
76 TInt RDvbhReceiver::RBody::SetScanConfiguration( const TDvbhScanConfiguration& /*aScanConfiguration*/ )
78 return KErrNotSupported;
81 TInt RDvbhReceiver::RBody::GetScanConfiguration( TDvbhScanConfiguration& /*aScanConfiguration*/ )
83 return KErrNotSupported;
86 TInt RDvbhReceiver::RBody::GetDvbhVersion( TVersion& /*aVersion*/ )
88 return KErrNotSupported;
91 TInt RDvbhReceiver::RBody::GetHardwareInfo( TDvbhHardwareInfo& /*aHardwareInfo*/ )
93 return KErrNotSupported;
96 TInt RDvbhReceiver::RBody::Scan( MDvbhScanObserver& /*aObserver*/, TRequestStatus& /*aStatus*/ )
98 return KErrNotSupported;
101 void RDvbhReceiver::RBody::CancelScan()
105 TInt RDvbhReceiver::RBody::SetPlatform( const TDvbhNetwork& /*aNetwork*/, const TDvbhPlatform& /*aPlatform*/, TRequestStatus& /*aStatus*/ )
107 return KErrNotSupported;
110 void RDvbhReceiver::RBody::CancelSetPlatform()
114 TInt RDvbhReceiver::RBody::CreateFilter( const TIp6Addr& /*aSourceAddress*/, TInt& /*aFilterId*/, TRequestStatus& /*aStatus*/ )
116 return KErrNotSupported;
119 TInt RDvbhReceiver::RBody::CancelFilter( TInt /*aFilterId*/ )
121 return KErrNotSupported;
124 TInt RDvbhReceiver::RBody::ReceiveIPData( MDvbhDataObserver& /*aObserver*/ )
126 return KErrNotSupported;
129 void RDvbhReceiver::RBody::CancelReceiveIPData()
133 TInt RDvbhReceiver::RBody::UpdateNetworkTime( TRequestStatus& /*aStatus*/ )
135 return KErrNotSupported;
138 void RDvbhReceiver::RBody::CancelUpdateNetworkTime()
142 TInt RDvbhReceiver::RBody::CustomCommand(
144 const TDesC8& /*aInputData*/,
145 TDes8& /*aOutputBuffer*/,
146 TRequestStatus& /*aStatus*/ )
148 return KErrNotSupported;
151 void RDvbhReceiver::RBody::CancelCustomCommand( TRequestStatus& /*aStatus*/ )
155 TInt RDvbhReceiver::RBody::CustomCommand( TInt /*aCommand*/, const TDesC8& /*aInputData*/ )
157 return KErrNotSupported;