#ifndef RUNNER_SCRCPY_HOST_H_ #define RUNNER_SCRCPY_HOST_H_ #include #include #include #include #include class ScrcpyHost { public: ScrcpyHost(flutter::BinaryMessenger* messenger, HWND parent); ~ScrcpyHost(); private: struct Entry { HWND window; LONG_PTR style; LONG_PTR extended; RECT rect; }; HWND parent_; std::map windows_; std::unique_ptr> channel_; void Release(DWORD pid); void Handle(const flutter::MethodCall& call, std::unique_ptr> result); }; #endif