1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/bluetooth/a2dpoptimisationparams.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,54 @@
1.4 +// Copyright (c) 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 +//
1.18 +
1.19 +/**
1.20 + @file
1.21 + @internalTechnology
1.22 +*/
1.23 +
1.24 +#ifndef A2DP_OPTIMISATION_PARAMS_H
1.25 +#define A2DP_OPTIMISATION_PARAMS_H
1.26 +
1.27 +#include <e32base.h>
1.28 +#include <bttypes.h>
1.29 +
1.30 +NONSHARABLE_CLASS(TA2dpOptimisationParams)
1.31 + {
1.32 +public:
1.33 + IMPORT_C TA2dpOptimisationParams();
1.34 + IMPORT_C TA2dpOptimisationParams(const TBTDevAddr& aBDAddr, TUint aPeakBandwidth, TUint aAccessLatency);
1.35 +
1.36 +public:
1.37 + IMPORT_C TBTDevAddr RemoteDeviceAddress() const;
1.38 + IMPORT_C TUint PeakBandwidth() const;
1.39 + IMPORT_C TUint AccessLatency() const;
1.40 +
1.41 +private:
1.42 + // address of the remote device to apply optimisation
1.43 + TBTDevAddr iBDAddr;
1.44 +
1.45 + // Peak Bandwidth in octets per second
1.46 + TUint iPeakBandwidth;
1.47 +
1.48 + // Access Latency in microseconds
1.49 + TUint iAccessLatency;
1.50 +
1.51 + // This data padding has been added to help prevent future binary compatibility breaks
1.52 + // Neither iPadding1 nor iPadding2 have been zero'd because they are currently not used
1.53 + TUint32 iPadding1;
1.54 + TUint32 iPadding2;
1.55 + };
1.56 +
1.57 +#endif //A2DP_OPTIMISATION_PARAMS_H