| 207 | } |
| 208 | |
| 209 | bool Win32ControlUnitMgr::connected() const |
| 210 | { |
| 211 | // 除了检查连接标志,还需要检查窗口是否仍然有效 |
| 212 | if (!connected_) { |
| 213 | return false; |
| 214 | } |
| 215 | |
| 216 | if (hwnd_ && !IsWindow(hwnd_)) { |
| 217 | return false; |
| 218 | } |
| 219 | |
| 220 | return true; |
| 221 | } |
| 222 | |
| 223 | bool Win32ControlUnitMgr::request_uuid(std::string& uuid) |
| 224 | { |
nothing calls this directly
no outgoing calls
no test coverage detected