bluetoothmgmt/bluetoothclientlib/inc/a2dpoptimisationparams.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     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