epoc32/include/mbmstypes.h
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/mbmstypes.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,147 @@
     1.4 +// Copyright (c) 2008-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.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 +// Common MBMS Broadcast Variables
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +
    1.22 +
    1.23 +/**
    1.24 + @file
    1.25 + @publishedAll
    1.26 + @released
    1.27 +*/
    1.28 +
    1.29 +#ifndef _MBMSTYPES_H_
    1.30 +#define _MBMSTYPES_H_
    1.31 +
    1.32 +/**
    1.33 + * This name will be used by the TSY to identify the request for MBMS context
    1.34 + *
    1.35 + * @publishedPartner
    1.36 + * @released
    1.37 + */
    1.38 +_LIT(KMBMSContextName,"MBMS_CONTEXT");
    1.39 +
    1.40 +/**
    1.41 + * Holds the list of MBMS sessions identifiers
    1.42 + */
    1.43 +typedef RArray<TUint> TMbmsSessionIdList;
    1.44 +
    1.45 +/**
    1.46 + * Holds the MBMS session identifier
    1.47 + */
    1.48 +typedef TUint TMbmsSessionId;
    1.49 +
    1.50 +class TTmgi 
    1.51 +/** 
    1.52 + * Holds the Temporary mobile group identity information
    1.53 + * @see section 15.2 of 3GPP TS 23.007
    1.54 + */
    1.55 +	{
    1.56 +public:
    1.57 +	inline TUint GetServiceId() const	{ return iServiceID; }
    1.58 +	inline void SetServiceId(TUint aServiceID)	{ iServiceID = aServiceID; }
    1.59 +	inline TUint16 GetMCC() const	{ return iMCC; }
    1.60 +	inline void SetMCC(TUint16 aMCC) 	{ iMCC = aMCC; }
    1.61 +	inline TUint16 GetMNC() const { return iMNC; }
    1.62 +	inline void SetMNC(TUint16 aMNC)	{ iMNC=aMNC; }
    1.63 +
    1.64 +private:
    1.65 +	/** MBMS Service ID uniquely identifies an MBMS bearer service within a PLMN. */	
    1.66 +	TUint iServiceID;
    1.67 +	/** Mobile Country Code Information */	
    1.68 +	TUint16 iMCC;
    1.69 +	/** Mobile Network Code Information */	
    1.70 +	TUint16 iMNC;
    1.71 +	};
    1.72 +	
    1.73 +/** 
    1.74 + * Holds the MBMS Access Bearer Information. 
    1.75 + */
    1.76 +enum TMbmsScope
    1.77 +	{
    1.78 +	/** MBMS Bearer is 2G. */	
    1.79 +	E2GBearer,
    1.80 +	/** MBMS Bearer is 3G. */	
    1.81 +	E3GBearer			
    1.82 +	};
    1.83 +
    1.84 +	
    1.85 +/** 
    1.86 + * Holds the MBMS Service priority Information
    1.87 + */
    1.88 +enum TMbmsServicePriority
    1.89 +	{
    1.90 +	/** Emergency MBMS service priority. */	
    1.91 +	EMbmsEmergencyServicePriority, 
    1.92 +	/** High MBMS service priority. */
    1.93 +	EMbmsHighServicePriority,
    1.94 +	/** Medium MBMS service priority. */
    1.95 +	EMbmsMediumServicePriority,
    1.96 +	/** Lowest MBMS service priority. */
    1.97 +	EMbmsLowServicePriority
    1.98 +	};
    1.99 +	
   1.100 +/** 
   1.101 + * Holds the MBMS Service mode Information
   1.102 + */
   1.103 +enum TMbmsServiceMode
   1.104 +	{
   1.105 +	/** MBMS broadcast service mode. */
   1.106 +	KBroadcast = 0x01,
   1.107 +	/** MBMS Selected Broadcast mode. */
   1.108 +	KSelectedBroadcast = 0x02
   1.109 +	};
   1.110 +	
   1.111 +/** 
   1.112 + * Holds the MBMS service availability status Information 
   1.113 + */
   1.114 +enum TMbmsAvailabilityStatus
   1.115 +	{
   1.116 +	/** MBMS availability status is unknown. */
   1.117 +	EMbmsAvailabilityUnknown,
   1.118 +	/** MBMS availability status is unavailable. */
   1.119 +	EMbmsUnavailable,
   1.120 +	/** MBMS availability status is available. */
   1.121 +	EMbmsAvailable
   1.122 +	};
   1.123 +
   1.124 +/** 
   1.125 + * Holds the MBMS Network service status Information 
   1.126 + */
   1.127 +enum TMbmsNetworkServiceStatus
   1.128 +	{
   1.129 +	/** MBMS Network status is unknown. */
   1.130 +	EMbmsSupportUnknown,
   1.131 +	/** MBMS Network status is supported. */
   1.132 +	EMbmsSupported,
   1.133 +	/** MBMS Network status is not supported. */
   1.134 +	EMbmsNotSupported
   1.135 +	};
   1.136 +
   1.137 +/** 
   1.138 + * Holds the Different MBMS Action Information 
   1.139 + */
   1.140 +enum TMbmsAction
   1.141 +	{
   1.142 +	/** Add the mbms entries. */ 
   1.143 +	EAddEntries,
   1.144 +	/** Removes the mbms entries. */ 
   1.145 +	ERemoveEntries,
   1.146 +	/** Removes all the mbms entries. */ 
   1.147 +	ERemoveAllEntries
   1.148 +	};
   1.149 +	
   1.150 +#endif