#include <flutter_window_controller.h>
Public Member Functions | |
| FlutterWindowController (const std::string &icu_data_path) | |
| virtual | ~FlutterWindowController () |
| FlutterWindowController (FlutterWindowController const &)=delete | |
| FlutterWindowController & | operator= (FlutterWindowController const &)=delete |
| bool | CreateWindow (const WindowProperties &window_properties, const std::string &assets_path, const std::vector< std::string > &arguments, const std::string &aot_library_path="") |
| void | DestroyWindow () |
| FlutterWindow * | window () |
| bool | RunEventLoopWithTimeout (std::chrono::milliseconds timeout=std::chrono::milliseconds::max()) |
| void | RunEventLoop () |
| FlutterDesktopPluginRegistrarRef | GetRegistrarForPlugin (const std::string &plugin_name) override |
Public Member Functions inherited from flutter::PluginRegistry | |
| PluginRegistry ()=default | |
| virtual | ~PluginRegistry ()=default |
| PluginRegistry (PluginRegistry const &)=delete | |
| PluginRegistry & | operator= (PluginRegistry const &)=delete |
Definition at line 44 of file flutter_window_controller.h.
|
explicit |
Definition at line 12 of file flutter_window_controller.cc.
References FlutterDesktopInit().
|
virtual |
Definition at line 18 of file flutter_window_controller.cc.
References FlutterDesktopDestroyWindow(), and FlutterDesktopTerminate().
|
delete |
| bool FlutterWindowController::CreateWindow | ( | const WindowProperties & | window_properties, |
| const std::string & | assets_path, | ||
| const std::vector< std::string > & | arguments, | ||
| const std::string & | aot_library_path = "" |
||
| ) |
Definition at line 27 of file flutter_window_controller.cc.
References FlutterDesktopEngineProperties::aot_library_path, FlutterDesktopEngineProperties::assets_path, FlutterDesktopCreateWindow(), FlutterDesktopGetWindow(), flutter::WindowProperties::height, FlutterDesktopWindowProperties::height, FlutterDesktopEngineProperties::icu_data_path, flutter::WindowProperties::prevent_resize, FlutterDesktopWindowProperties::prevent_resize, FlutterDesktopEngineProperties::switches, FlutterDesktopEngineProperties::switches_count, flutter::WindowProperties::title, FlutterDesktopWindowProperties::title, flutter::WindowProperties::width, and FlutterDesktopWindowProperties::width.
| void FlutterWindowController::DestroyWindow | ( | ) |
Definition at line 73 of file flutter_window_controller.cc.
References FlutterDesktopDestroyWindow().
Referenced by RunEventLoopWithTimeout().
|
overridevirtual |
Implements flutter::PluginRegistry.
Definition at line 81 of file flutter_window_controller.cc.
References FlutterDesktopGetEngine(), and FlutterDesktopGetPluginRegistrar().
|
delete |
| void FlutterWindowController::RunEventLoop | ( | ) |
Definition at line 118 of file flutter_window_controller.cc.
References RunEventLoopWithTimeout().
| bool FlutterWindowController::RunEventLoopWithTimeout | ( | std::chrono::milliseconds | timeout = std::chrono::milliseconds::max() | ) |
Definition at line 93 of file flutter_window_controller.cc.
References DestroyWindow(), FlutterDesktopRunWindowEventLoopWithTimeout(), and UINT32_MAX.
Referenced by RunEventLoop().
|
inline |
Definition at line 88 of file flutter_window_controller.h.