5#ifndef FLUTTER_SHELL_PLATFORM_GLFW_CLIENT_WRAPPER_INCLUDE_FLUTTER_FLUTTER_WINDOW_CONTROLLER_H_
6#define FLUTTER_SHELL_PLATFORM_GLFW_CLIENT_WRAPPER_INCLUDE_FLUTTER_FLUTTER_WINDOW_CONTROLLER_H_
75 const std::string& assets_path,
76 const std::vector<std::string>& arguments,
77 const std::string& aot_library_path =
"");
102 const std::string& plugin_name)
override;
107 std::string icu_data_path_;
110 bool init_succeeded_ =
false;
113 std::unique_ptr<FlutterWindow> window_;
bool RunEventLoopWithTimeout(std::chrono::milliseconds timeout=std::chrono::milliseconds::max())
FlutterWindowController(FlutterWindowController const &)=delete
virtual ~FlutterWindowController()
bool CreateWindow(const WindowProperties &window_properties, const std::string &assets_path, const std::vector< std::string > &arguments, const std::string &aot_library_path="")
FlutterDesktopPluginRegistrarRef GetRegistrarForPlugin(const std::string &plugin_name) override
FlutterWindowController & operator=(FlutterWindowController const &)=delete
FlutterWindowController(const std::string &icu_data_path)
static float max(float r, float g, float b)
def timeout(deadline, cmd)