| 23 | WindowsManagerService WindowsManagerServiceInstance; |
| 24 | |
| 25 | Window* WindowsManager::GetByNativePtr(void* handle) |
| 26 | { |
| 27 | Window* result = nullptr; |
| 28 | WindowsLocker.Lock(); |
| 29 | for (int32 i = 0; i < Windows.Count(); i++) |
| 30 | { |
| 31 | if (Windows[i]->GetNativePtr() == handle) |
| 32 | { |
| 33 | result = Windows[i]; |
| 34 | break; |
| 35 | } |
| 36 | } |
| 37 | WindowsLocker.Unlock(); |
| 38 | return result; |
| 39 | } |
| 40 | |
| 41 | void WindowsManager::Register(Window* win) |
| 42 | { |
nothing calls this directly
no test coverage detected