bluetoothengine/btmac/inc/btmonocmdhandler/btmcprotocol.h
changeset 2 0b192a3a05a4
parent 0 f63038272f30
child 10 0707dd69d236
--- a/bluetoothengine/btmac/inc/btmonocmdhandler/btmcprotocol.h	Tue Jan 26 12:06:42 2010 +0200
+++ b/bluetoothengine/btmac/inc/btmonocmdhandler/btmcprotocol.h	Tue Feb 02 00:20:42 2010 +0200
@@ -21,7 +21,6 @@
 
 #include <e32base.h>
 #include <etelmm.h>
-#include <btengdiscovery.h>
 #include "btmcactive.h"
 #include "btmcprofileid.h"
 #include "btmcprotdatabuf.h"
@@ -46,8 +45,7 @@
 const TUint KBTHSRemoteAudioVolumeControl = 0x0302;
 
 NONSHARABLE_CLASS(CBtmcProtocol) : public CBase, 
-    public MBtmcActiveObserver, 
-    public MBTEngSdpResultReceiver, 
+    public MBtmcActiveObserver,
     public MATExtObserver
       {
     public:
@@ -90,20 +88,13 @@
          */
         TBool ActiveChldHandling() const;
         
-    private:        
-        // from MBTEngSdpResultReceiver
-        void ServiceSearchComplete( const RSdpRecHandleArray& /*aResult*/, 
-		                                         TUint /*aTotalRecordsCount*/, TInt /*aErr*/ ) {}
-		
-        void AttributeSearchComplete( TSdpServRecordHandle /*aHandle*/, 
-		                                           const RSdpResultArray& /*aAttr*/, TInt /*aErr*/ ) {}
-		
-        void ServiceAttributeSearchComplete( TSdpServRecordHandle /*aHandle*/, 
-		                                                  const RSdpResultArray& /*aAttr*/, 
-		                                                  TInt /*aErr*/ );
-		
-		void DeviceSearchComplete( CBTDevice* /*aDevice*/, TInt /*aErr*/ ) {}
-
+        /**
+         * Set the support status of remote volume control of HSP in the remote device.
+         * @param aSupported ETrue if remote volume control is supported by HS unit.
+         */
+        void SetHspRvcSupported(TBool aSupported);
+        
+    private: 
         
         // From MBtmcActiveObserver
     
@@ -174,7 +165,6 @@
         CDesC8ArrayFlat* iOutgoPacketQueue; // owned
         TInt iCredit; // How many commands are allowed to acc
         TBool iVolumeSyncFromAccessory;
-        CBTEngDiscovery* iBteng; // for volume query
         TBool iAccessoryInitiated; // who initiated the connection
         RMobilePhone::TMobilePhoneIdentityV1 iIdentity; // holds IMEI etc
         RMobilePhone::TMobilePhoneSubscriberId iId; // holds id