Checks if there's any data for us
| 38 | |
| 39 | // Checks if there's any data for us |
| 40 | bool WirelessDevice::IsDataAvailable(void) |
| 41 | { |
| 42 | if (index == -1) |
| 43 | return false; |
| 44 | WirelessGamingReceiver *receiver = OSDynamicCast(WirelessGamingReceiver, getProvider()); |
| 45 | if (receiver == NULL) |
| 46 | return false; |
| 47 | return receiver->IsDataQueued(index); |
| 48 | } |
| 49 | |
| 50 | // Gets the next item from our buffer |
| 51 | IOMemoryDescriptor* WirelessDevice::NextPacket(void) |
nothing calls this directly
no test coverage detected