|
Flutter Windows Embedder
|
|
Go to the documentation of this file.
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;
123 std::function<void()> next_frame_callback_ =
nullptr;
128 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER_FLUTTER_ENGINE_H_
void SetNextFrameCallback(std::function< void()> callback)
void ReloadPlatformBrightness()
FlutterDesktopPluginRegistrarRef GetRegistrarForPlugin(const std::string &plugin_name) override
struct FlutterDesktopEngine * FlutterDesktopEngineRef
std::optional< LRESULT > ProcessExternalWindowMessage(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
FlutterEngine & operator=(FlutterEngine const &)=delete
std::chrono::nanoseconds ProcessMessages()
FlutterEngine(const DartProject &project)
FlutterDesktopBinaryReply callback
BinaryMessenger * messenger()