os/mm/mmhais/dvbhreceiverhai/hai/dvbh/teststubs/dvbhreceiverbody.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// Example implementation of RDvbhReceiver::RBody for the unit test stub
sl@0
    15
// 
sl@0
    16
//
sl@0
    17
sl@0
    18
/**
sl@0
    19
 @file
sl@0
    20
 @internalComponent
sl@0
    21
 @prototype
sl@0
    22
*/
sl@0
    23
sl@0
    24
#include "dvbhreceiverbody.h"
sl@0
    25
#include <in_sock.h>
sl@0
    26
sl@0
    27
RDvbhReceiver::RBody::RBody()
sl@0
    28
: RBusLogicalChannel()
sl@0
    29
	{
sl@0
    30
	}
sl@0
    31
		
sl@0
    32
TInt RDvbhReceiver::RBody::GetDriverVersion( TVersion& /*aVersion*/ )
sl@0
    33
	{
sl@0
    34
	return KErrNotSupported;
sl@0
    35
	}	
sl@0
    36
	
sl@0
    37
TInt RDvbhReceiver::RBody::GetSupportedReceiverTypes( RArray<TDvbhReceiverType>& /* aReceiverTypes */ )
sl@0
    38
    {
sl@0
    39
	return KErrNotSupported;
sl@0
    40
    }
sl@0
    41
sl@0
    42
TInt RDvbhReceiver::RBody::Open( const TDvbhReceiverType /* aReceiverType */ )
sl@0
    43
	{
sl@0
    44
	return KErrNotSupported;
sl@0
    45
	}	
sl@0
    46
sl@0
    47
void RDvbhReceiver::RBody::Close()
sl@0
    48
	{
sl@0
    49
	}	
sl@0
    50
sl@0
    51
TInt RDvbhReceiver::RBody::PowerOn( TRequestStatus& /* aStatus */ )
sl@0
    52
    {
sl@0
    53
    return KErrNotSupported;
sl@0
    54
    }
sl@0
    55
sl@0
    56
void RDvbhReceiver::RBody::CancelPowerOn()
sl@0
    57
    {
sl@0
    58
    }
sl@0
    59
sl@0
    60
void RDvbhReceiver::RBody::PowerOff( TRequestStatus& /* aStatus */ )
sl@0
    61
	{
sl@0
    62
	}	
sl@0
    63
sl@0
    64
void RDvbhReceiver::RBody::CancelPowerOff()
sl@0
    65
    {
sl@0
    66
    }
sl@0
    67
sl@0
    68
void RDvbhReceiver::RBody::SetDisabled( TBool /*aDisable*/, TRequestStatus& /* aStatus */ )
sl@0
    69
	{
sl@0
    70
	}	
sl@0
    71
sl@0
    72
void RDvbhReceiver::RBody::CancelSetDisabled()
sl@0
    73
    {
sl@0
    74
    }
sl@0
    75
sl@0
    76
TInt RDvbhReceiver::RBody::SetScanConfiguration( const TDvbhScanConfiguration& /*aScanConfiguration*/ )
sl@0
    77
	{
sl@0
    78
	return KErrNotSupported;
sl@0
    79
	}	
sl@0
    80
sl@0
    81
TInt RDvbhReceiver::RBody::GetScanConfiguration( TDvbhScanConfiguration& /*aScanConfiguration*/ )
sl@0
    82
	{
sl@0
    83
	return KErrNotSupported;
sl@0
    84
	}	
sl@0
    85
sl@0
    86
TInt RDvbhReceiver::RBody::GetDvbhVersion( TVersion& /*aVersion*/ )
sl@0
    87
	{
sl@0
    88
	return KErrNotSupported;
sl@0
    89
	}	
sl@0
    90
sl@0
    91
TInt RDvbhReceiver::RBody::GetHardwareInfo( TDvbhHardwareInfo& /*aHardwareInfo*/ )
sl@0
    92
	{
sl@0
    93
	return KErrNotSupported;
sl@0
    94
	}	
sl@0
    95
sl@0
    96
TInt RDvbhReceiver::RBody::Scan( MDvbhScanObserver& /*aObserver*/, TRequestStatus& /*aStatus*/ )
sl@0
    97
	{
sl@0
    98
	return KErrNotSupported;
sl@0
    99
	}	
sl@0
   100
sl@0
   101
void RDvbhReceiver::RBody::CancelScan()
sl@0
   102
	{
sl@0
   103
	}	
sl@0
   104
sl@0
   105
TInt RDvbhReceiver::RBody::SetPlatform( const TDvbhNetwork& /*aNetwork*/, const TDvbhPlatform& /*aPlatform*/, TRequestStatus& /*aStatus*/ )
sl@0
   106
	{
sl@0
   107
	return KErrNotSupported;
sl@0
   108
	}	
sl@0
   109
sl@0
   110
void RDvbhReceiver::RBody::CancelSetPlatform()
sl@0
   111
	{
sl@0
   112
	}	
sl@0
   113
sl@0
   114
TInt RDvbhReceiver::RBody::CreateFilter( const TIp6Addr& /*aSourceAddress*/, TInt& /*aFilterId*/, TRequestStatus& /*aStatus*/ )
sl@0
   115
	{
sl@0
   116
	return KErrNotSupported;	
sl@0
   117
	}	
sl@0
   118
sl@0
   119
TInt RDvbhReceiver::RBody::CancelFilter( TInt /*aFilterId*/ )
sl@0
   120
	{
sl@0
   121
	return KErrNotSupported;
sl@0
   122
	}	
sl@0
   123
sl@0
   124
TInt RDvbhReceiver::RBody::ReceiveIPData( MDvbhDataObserver& /*aObserver*/ )
sl@0
   125
	{
sl@0
   126
	return KErrNotSupported;
sl@0
   127
	}	
sl@0
   128
sl@0
   129
void RDvbhReceiver::RBody::CancelReceiveIPData()
sl@0
   130
	{
sl@0
   131
	}	
sl@0
   132
sl@0
   133
TInt RDvbhReceiver::RBody::UpdateNetworkTime( TRequestStatus& /*aStatus*/ )
sl@0
   134
	{
sl@0
   135
	return KErrNotSupported;
sl@0
   136
	}	
sl@0
   137
sl@0
   138
void RDvbhReceiver::RBody::CancelUpdateNetworkTime()
sl@0
   139
	{
sl@0
   140
	}	
sl@0
   141
sl@0
   142
TInt RDvbhReceiver::RBody::CustomCommand(
sl@0
   143
            TInt /*aCommand*/,
sl@0
   144
            const TDesC8& /*aInputData*/,
sl@0
   145
            TDes8& /*aOutputBuffer*/,
sl@0
   146
            TRequestStatus& /*aStatus*/ )
sl@0
   147
	{
sl@0
   148
	return KErrNotSupported;
sl@0
   149
	}	
sl@0
   150
sl@0
   151
void RDvbhReceiver::RBody::CancelCustomCommand( TRequestStatus& /*aStatus*/ )
sl@0
   152
	{
sl@0
   153
	}	
sl@0
   154
sl@0
   155
TInt RDvbhReceiver::RBody::CustomCommand( TInt /*aCommand*/, const TDesC8& /*aInputData*/ )
sl@0
   156
	{
sl@0
   157
	return KErrNotSupported;
sl@0
   158
	}	
sl@0
   159
sl@0
   160
sl@0
   161
	
sl@0
   162