mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-14 15:46:19 +00:00
General: Add missing override specifiers
Adds override specifiers that I missed for other platforms when initially applying them to the codebase.
This commit is contained in:
@@ -263,23 +263,23 @@ public:
|
||||
m_scanningEnabled = false;
|
||||
}
|
||||
|
||||
~HIDListenerIOKit() {
|
||||
~HIDListenerIOKit() override {
|
||||
// CFRunLoopRemoveSource(m_listenerRunLoop, IONotificationPortGetRunLoopSource(m_llPort), kCFRunLoopDefaultMode);
|
||||
IONotificationPortDestroy(m_llPort);
|
||||
}
|
||||
|
||||
/* Automatic device scanning */
|
||||
bool startScanning() {
|
||||
bool startScanning() override {
|
||||
m_scanningEnabled = true;
|
||||
return true;
|
||||
}
|
||||
bool stopScanning() {
|
||||
bool stopScanning() override {
|
||||
m_scanningEnabled = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Manual device scanning */
|
||||
bool scanNow() {
|
||||
bool scanNow() override {
|
||||
IOObjectPointer<io_iterator_t> iter;
|
||||
if (IOServiceGetMatchingServices(kIOMasterPortDefault, IOServiceMatching(m_usbClass), &iter) == kIOReturnSuccess) {
|
||||
devicesConnectedUSBLL(this, iter.get());
|
||||
|
||||
Reference in New Issue
Block a user