1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmhais/dvbhreceiverhai/hai/dvbh/teststubs/dvbhstubcommon.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,63 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// DVB-H types common to the test stub implementation.
1.18 +//
1.19 +//
1.20 +
1.21 +/**
1.22 + @file
1.23 + @internalComponent
1.24 + @prototype
1.25 +*/
1.26 +
1.27 +#ifndef DVBHSTUBCOMMON_H
1.28 +#define DVBHSTUBCOMMON_H
1.29 +
1.30 +#include <e32cmn.h>
1.31 +#include <in_sock.h>
1.32 +#include "dvbhtypes.h"
1.33 +
1.34 +/**
1.35 +* @internalComponent
1.36 +* @prototype
1.37 +*
1.38 +* Publish & Subscribe variables used for implementation to API communication.
1.39 +*/
1.40 +const TUid KDvbhPropertyCategory =
1.41 + {
1.42 + 0x101f45ef //TestFramework's UID3
1.43 + };
1.44 +
1.45 +const TUint KDvbhPropertyKeyState = 0; // integer (TDvbhState)
1.46 +const TUint KDvbhPropertyKeyPlatform = 1; // byte array (TDvbhPlatform + TIp6Addr)
1.47 +const TUint KDvbhPropertyKeyNetworkTime = 2; // byte array (TDvbhNetworkTime)
1.48 +const TUint KDvbhPropertyKeyPerformanceData = 3; // byte array (TDvbhPerformanceData)
1.49 +const TUint KDvbhPropertyKeyFrequency = 4; // integer (TDvbhFrequency)
1.50 +const TUint KDvbhPropertyKeyNetworkId = 5; // integer (TDvbhNetworkId)
1.51 +const TUint KDvbhPropertyKeySignalQuality = 6; // integer (TDvbhSignalQuality)
1.52 +const TUint KDvbhPropertyKeyCellId = 7; // integer (TDvbhCellId)
1.53 +const TUint KDvbhPropertyKeyExtBatteryState = 8; // integer (TDvbhExtBatteryState)
1.54 +const TUint KDvbhPropertyKeyExtConnectionState = 9; // integer (TDvbhExtConnectionState)
1.55 +
1.56 +const TUint KMtvAccAttachedKey = 20; // integer (TMtvAccConnectionState)
1.57 +const TUint KMtvAccAntennaKey = 21; // integer (TMtvAccAntennaConnectionState)
1.58 +const TUint KMtvAccInfoKey = 22; // byte array (TMtvAccInfo)
1.59 +
1.60 +struct TDvbhPlatformProperty
1.61 + {
1.62 + TDvbhPlatform iPlatform;
1.63 + TIp6Addr iEsgRoot;
1.64 + };
1.65 +
1.66 +#endif // DVBHSTUBCOMMON_H