Flutter Engine
The Flutter Engine
|
#include <flutter_engine.h>
Public Member Functions | |
FlutterEngine () | |
virtual | ~FlutterEngine () |
FlutterEngine (FlutterEngine const &)=delete | |
FlutterEngine & | operator= (FlutterEngine const &)=delete |
bool | Start (const std::string &icu_data_path, const std::string &assets_path, const std::vector< std::string > &arguments, const std::string &aot_library_path="") |
void | ShutDown () |
void | RunEventLoopWithTimeout (std::chrono::milliseconds timeout=std::chrono::milliseconds::max()) |
FlutterDesktopPluginRegistrarRef | GetRegistrarForPlugin (const std::string &plugin_name) override |
FlutterEngine (const DartProject &project) | |
virtual | ~FlutterEngine () |
FlutterEngine (FlutterEngine const &)=delete | |
FlutterEngine & | operator= (FlutterEngine const &)=delete |
bool | Run () |
bool | Run (const char *entry_point) |
void | ShutDown () |
std::chrono::nanoseconds | ProcessMessages () |
void | ReloadSystemFonts () |
void | ReloadPlatformBrightness () |
FlutterDesktopPluginRegistrarRef | GetRegistrarForPlugin (const std::string &plugin_name) override |
BinaryMessenger * | messenger () |
void | SetNextFrameCallback (std::function< void()> callback) |
std::optional< LRESULT > | ProcessExternalWindowMessage (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) |
Public Member Functions inherited from flutter::PluginRegistry | |
PluginRegistry ()=default | |
virtual | ~PluginRegistry ()=default |
PluginRegistry (PluginRegistry const &)=delete | |
PluginRegistry & | operator= (PluginRegistry const &)=delete |
virtual FlutterDesktopPluginRegistrarRef | GetRegistrarForPlugin (const std::string &plugin_name)=0 |
Friends | |
class | FlutterViewController |
Definition at line 21 of file flutter_engine.h.
|
explicit |
Definition at line 12 of file flutter_engine.cc.
|
virtual |
Definition at line 14 of file flutter_engine.cc.
|
delete |
|
explicit |
Definition at line 14 of file flutter_engine.cc.
|
virtual |
|
delete |
|
overridevirtual |
Implements flutter::PluginRegistry.
Definition at line 53 of file flutter_engine.cc.
|
overridevirtual |
Implements flutter::PluginRegistry.
|
inline |
Definition at line 80 of file flutter_engine.h.
|
delete |
|
delete |
std::optional< LRESULT > FlutterEngine::ProcessExternalWindowMessage | ( | HWND | hwnd, |
UINT | message, | ||
WPARAM | wparam, | ||
LPARAM | lparam | ||
) |
Definition at line 103 of file flutter_engine.cc.
std::chrono::nanoseconds FlutterEngine::ProcessMessages | ( | ) |
Definition at line 72 of file flutter_engine.cc.
void flutter::FlutterEngine::ReloadPlatformBrightness | ( | ) |
void FlutterEngine::ReloadSystemFonts | ( | ) |
Definition at line 76 of file flutter_engine.cc.
bool FlutterEngine::Run | ( | ) |
Definition at line 44 of file flutter_engine.cc.
bool FlutterEngine::Run | ( | const char * | entry_point | ) |
Definition at line 48 of file flutter_engine.cc.
void FlutterEngine::RunEventLoopWithTimeout | ( | std::chrono::milliseconds | timeout = std::chrono::milliseconds::max() | ) |
Definition at line 64 of file flutter_engine.cc.
void FlutterEngine::SetNextFrameCallback | ( | std::function< void()> | callback | ) |
Definition at line 91 of file flutter_engine.cc.
void FlutterEngine::ShutDown | ( | ) |
Definition at line 49 of file flutter_engine.cc.
void flutter::FlutterEngine::ShutDown | ( | ) |
bool FlutterEngine::Start | ( | const std::string & | icu_data_path, |
const std::string & | assets_path, | ||
const std::vector< std::string > & | arguments, | ||
const std::string & | aot_library_path = "" |
||
) |
Definition at line 16 of file flutter_engine.cc.
|
friend |
Definition at line 99 of file flutter_engine.h.