feat: add Flutter USB mirroring and single-instance desktop clients
This commit is contained in:
1 parent
3a7bb071f0
commit
a339465392
30 files changed
+1688
-104
No files matched your search
@@ -7,6 +7,7 @@
|
||||
#include <memory>
|
||||
|
||||
#include "win32_window.h"
|
||||
#include "scrcpy_host.h"
|
||||
|
||||
// A window that does nothing but host a Flutter view.
|
||||
class FlutterWindow : public Win32Window {
|
||||
@@ -23,6 +24,7 @@ class FlutterWindow : public Win32Window {
|
||||
LPARAM const lparam) noexcept override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<ScrcpyHost> scrcpy_host_;
|
||||
// The project to run.
|
||||
flutter::DartProject project_;
|
||||
|
||||
|
||||
Reference in new issue
Block a user