epoc32/include/bluetooth/a2dpoptimisationparams.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 // Copyright (c) 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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 /**
    17  @file
    18  @internalTechnology
    19 */
    20 
    21 #ifndef A2DP_OPTIMISATION_PARAMS_H
    22 #define A2DP_OPTIMISATION_PARAMS_H
    23 
    24 #include <e32base.h>
    25 #include <bttypes.h>
    26 
    27 NONSHARABLE_CLASS(TA2dpOptimisationParams)
    28 	{
    29 public:
    30 	IMPORT_C TA2dpOptimisationParams();
    31 	IMPORT_C TA2dpOptimisationParams(const TBTDevAddr& aBDAddr, TUint aPeakBandwidth, TUint aAccessLatency);
    32 
    33 public:
    34 	IMPORT_C TBTDevAddr RemoteDeviceAddress() const;
    35 	IMPORT_C TUint PeakBandwidth() const;
    36 	IMPORT_C TUint AccessLatency() const;
    37 
    38 private:
    39 	// address of the remote device to apply optimisation
    40 	TBTDevAddr iBDAddr;
    41 	
    42 	// Peak Bandwidth in octets per second
    43 	TUint iPeakBandwidth;
    44 	
    45 	// Access Latency in microseconds
    46 	TUint iAccessLatency;
    47 	
    48 	// This data padding has been added to help prevent future binary compatibility breaks	
    49 	// Neither iPadding1 nor iPadding2 have been zero'd because they are currently not used
    50 	TUint32	iPadding1;
    51 	TUint32 iPadding2;
    52 	};
    53 	
    54 #endif	//A2DP_OPTIMISATION_PARAMS_H