diff -r 10183c6d2913 -r 015fa7494bd2 bluetooth/btstack/avdtp/avdtpDirectChannel.h --- a/bluetooth/btstack/avdtp/avdtpDirectChannel.h Wed Sep 15 13:27:26 2010 +0300 +++ b/bluetooth/btstack/avdtp/avdtpDirectChannel.h Wed Oct 13 15:48:34 2010 +0300 @@ -33,11 +33,13 @@ public: static CDirectChannel* NewL(CAvdtpProtocol& aProtocol, const TBTDevAddr& aRemoteDevice); + ~CDirectChannel(); + //from base // can just forward down to L2CAP... virtual void DetachTransportSession(CUserPlaneTransportSession& aSession, TAvdtpTransportSessionType aType); - virtual TInt AttachTransportSession(CUserPlaneTransportSession& aSession, TAvdtpTransportSessionType aType, TL2CapConfig::TChannelPriority aPriority = TL2CapConfig::ELow); + virtual TInt AttachTransportSession(CUserPlaneTransportSession& aSession, TAvdtpTransportSessionType aType); virtual TBool CouldAttachSession(const TAvdtpSockAddr& aAddr); virtual TTCID TCID() const; CServProviderBase* ObtainSAP(); @@ -48,8 +50,7 @@ private: CDirectChannel(CAvdtpProtocol& aProtocol, const TBTDevAddr& aRemoteDevice); - void UpdateChannelPriority(); - + private: // interesting stuff from l2cap virtual void NewData(TUint aCount); @@ -60,7 +61,6 @@ private: CUserPlaneTransportSession* iTransportSession; // non-owned TBool iTransportSessionBlocked; - TL2CapConfig::TChannelPriority iChannelPriority; }; #endif //AVDTPDIRECTCHANNEL_H