| 30 | #endif |
| 31 | |
| 32 | inline bool IsWindowInvalid(Window* win) |
| 33 | { |
| 34 | WindowsManager::WindowsLocker.Lock(); |
| 35 | const bool hasWindow = WindowsManager::Windows.Contains(win); |
| 36 | WindowsManager::WindowsLocker.Unlock(); |
| 37 | return !hasWindow || !win; |
| 38 | } |
| 39 | |
| 40 | KeyboardKeys GetKey(NSEvent* event) |
| 41 | { |
no test coverage detected