equal
deleted
inserted
replaced
779 // Inform the Generic HID of the disconnection. |
779 // Inform the Generic HID of the disconnection. |
780 iGenHID->Disconnected(connection->ConnID()); |
780 iGenHID->Disconnected(connection->ConnID()); |
781 |
781 |
782 // Get it to disconnect if its connected. |
782 // Get it to disconnect if its connected. |
783 connection->Disconnect(); |
783 connection->Disconnect(); |
784 |
784 |
|
785 InformClientsOfStatusChange(connection->DeviceDetails(), |
|
786 EBTDeviceDisconnected); |
|
787 |
785 // Delete the connection object. |
788 // Delete the connection object. |
786 iBTConnIndex->Remove(connection->ConnID()); |
789 iBTConnIndex->Remove(connection->ConnID()); |
787 |
790 |
788 // Update the stored devices, as we could have power off |
791 // Update the stored devices, as we could have power off |
789 // and no clean shutdown. |
792 // and no clean shutdown. |
816 // Inform the Generic HID of the disconnection. |
819 // Inform the Generic HID of the disconnection. |
817 iGenHID->Disconnected(connection->ConnID()); |
820 iGenHID->Disconnected(connection->ConnID()); |
818 |
821 |
819 // Get it to disconnect if its connected. |
822 // Get it to disconnect if its connected. |
820 connection->Disconnect(); |
823 connection->Disconnect(); |
821 |
824 |
|
825 InformClientsOfStatusChange(connection->DeviceDetails(), |
|
826 EBTDeviceDisconnected); |
|
827 |
822 // Delete the connection object. |
828 // Delete the connection object. |
823 iBTConnIndex->Remove(connection->ConnID()); |
829 iBTConnIndex->Remove(connection->ConnID()); |
824 |
830 |
825 // Update the stored devices, as we could have power off |
831 // Update the stored devices, as we could have power off |
826 // and no clean shutdown. |
832 // and no clean shutdown. |