#include <flutter_engine.h>
Public Member Functions | |
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 |
Friends | |
class | FlutterViewController |
Definition at line 28 of file flutter_engine.h.
|
explicit |
Definition at line 14 of file flutter_engine.cc.
References FlutterDesktopEngineProperties::aot_library_path, FlutterDesktopEngineProperties::assets_path, flutter::DartProject::dart_entrypoint(), FlutterDesktopEngineProperties::dart_entrypoint, FlutterDesktopEngineProperties::dart_entrypoint_argc, flutter::DartProject::dart_entrypoint_arguments(), FlutterDesktopEngineProperties::dart_entrypoint_argv, FlutterDesktopEngineCreate(), FlutterDesktopEngineGetMessenger(), and FlutterDesktopEngineProperties::icu_data_path.
|
virtual |
|
delete |
|
overridevirtual |
Implements flutter::PluginRegistry.
Definition at line 80 of file flutter_engine.cc.
References FlutterDesktopEngineGetPluginRegistrar().
|
inline |
Definition at line 80 of file flutter_engine.h.
Referenced by flutter::TEST().
|
delete |
std::optional< LRESULT > flutter::FlutterEngine::ProcessExternalWindowMessage | ( | HWND | hwnd, |
UINT | message, | ||
WPARAM | wparam, | ||
LPARAM | lparam | ||
) |
Definition at line 103 of file flutter_engine.cc.
References FlutterDesktopEngineProcessExternalWindowMessage(), and message.
Referenced by flutter::TEST().
std::chrono::nanoseconds flutter::FlutterEngine::ProcessMessages | ( | ) |
Definition at line 72 of file flutter_engine.cc.
References FlutterDesktopEngineProcessMessages().
Referenced by flutter::TEST().
void flutter::FlutterEngine::ReloadPlatformBrightness | ( | ) |
void flutter::FlutterEngine::ReloadSystemFonts | ( | ) |
Definition at line 76 of file flutter_engine.cc.
References FlutterDesktopEngineReloadSystemFonts().
Referenced by flutter::TEST().
bool flutter::FlutterEngine::Run | ( | ) |
Definition at line 44 of file flutter_engine.cc.
Referenced by flutter::TEST(), and flutter::testing::TEST_F().
bool flutter::FlutterEngine::Run | ( | const char * | entry_point | ) |
void flutter::FlutterEngine::SetNextFrameCallback | ( | std::function< void()> | callback | ) |
Definition at line 91 of file flutter_engine.cc.
References callback, FlutterDesktopEngineSetNextFrameCallback(), and user_data.
Referenced by flutter::TEST().
void flutter::FlutterEngine::ShutDown | ( | ) |
Definition at line 65 of file flutter_engine.cc.
References FlutterDesktopEngineDestroy().
Referenced by flutter::TEST(), and ~FlutterEngine().
|
friend |
Definition at line 99 of file flutter_engine.h.