equal
deleted
inserted
replaced
56 #endif |
56 #endif |
57 |
57 |
58 static const THCIErrorCode KDefaultRejectReason = EHostSecurityRejection; // see spec Error Codes |
58 static const THCIErrorCode KDefaultRejectReason = EHostSecurityRejection; // see spec Error Codes |
59 |
59 |
60 #ifdef _DEBUG |
60 #ifdef _DEBUG |
61 #define __CHECK_CONNECTION_HANDLE(aHandle) __ASSERT_DEBUG(aHandle==iHandle, Panic(EBTLinkMgrConnectionEventInWrongSAP)); |
61 #define __CHECK_CONNECTION_HANDLE(aHandle) __ASSERT_DEBUG(HasHandle(aHandle), Panic(EBTLinkMgrConnectionEventInWrongSAP)); |
62 #else |
62 #else |
63 #define __CHECK_CONNECTION_HANDLE(aHandle) aHandle=aHandle; // to suppress warnings |
63 #define __CHECK_CONNECTION_HANDLE(aHandle) aHandle=aHandle; // to suppress warnings |
64 #endif |
64 #endif |
65 |
65 |
66 CPhysicalLink* CPhysicalLink::NewLC(CPhysicalLinksManager& aConnectionMan, CRegistrySession& aRegSess, const TBTNamelessDevice& aDevice) |
66 CPhysicalLink* CPhysicalLink::NewLC(CPhysicalLinksManager& aConnectionMan, CRegistrySession& aRegSess, const TBTNamelessDevice& aDevice) |