5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER_FLUTTER_ENGINE_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER_FLUTTER_ENGINE_H_
49 bool Run(
const char* entry_point);
74 const std::string& plugin_name)
override;
111 std::unique_ptr<BinaryMessenger> messenger_;
114 bool owns_engine_ =
true;
120 bool run_succeeded_ =
false;
FlutterEngine(FlutterEngine const &)=delete
FlutterDesktopPluginRegistrarRef GetRegistrarForPlugin(const std::string &plugin_name) override
std::chrono::nanoseconds ProcessMessages()
BinaryMessenger * messenger()
void ReloadPlatformBrightness()
std::optional< LRESULT > ProcessExternalWindowMessage(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
void SetNextFrameCallback(std::function< void()> callback)
FlutterEngine & operator=(FlutterEngine const &)=delete
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function