mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-08 11:22:10 +03:00
hotkey: Make LinuxHotkeyMgr 'pass' implementations.
We do need to 'implement' them, but it's a all a no-op on Linux.
This commit is contained in:
parent
9c8714177e
commit
9f1ae40775
20
hotkey.py
20
hotkey.py
@ -654,8 +654,26 @@ class WindowsHotkeyMgr(AbstractHotkeyMgr):
|
|||||||
|
|
||||||
|
|
||||||
class LinuxHotKeyMgr(AbstractHotkeyMgr):
|
class LinuxHotKeyMgr(AbstractHotkeyMgr):
|
||||||
"""Hot key management."""
|
"""
|
||||||
|
Hot key management.
|
||||||
|
|
||||||
|
Not actually implemented on Linux. It's a no-op instead.
|
||||||
|
"""
|
||||||
|
|
||||||
|
def register(self, root, keycode, modifiers) -> None:
|
||||||
|
"""Register the hotkey handler."""
|
||||||
|
pass
|
||||||
|
|
||||||
|
def unregister(self) -> None:
|
||||||
|
"""Unregister the hotkey handling."""
|
||||||
|
pass
|
||||||
|
|
||||||
|
def play_good(self) -> None:
|
||||||
|
"""Play the 'good' sound."""
|
||||||
|
pass
|
||||||
|
|
||||||
|
def play_bad(self) -> None:
|
||||||
|
"""Play the 'bad' sound."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user