Flutter Engine
The Flutter Engine
|
#include <platform_handler.h>
Public Member Functions | |
PlatformHandler (flutter::BinaryMessenger *messenger, GLFWwindow *window) | |
PlatformHandler (BinaryMessenger *messenger, FlutterWindowsEngine *engine, std::optional< std::function< std::unique_ptr< ScopedClipboardInterface >()> > scoped_clipboard_provider=std::nullopt) | |
virtual | ~PlatformHandler () |
virtual void | RequestAppExit (std::optional< HWND > hwnd, std::optional< WPARAM > wparam, std::optional< LPARAM > lparam, AppExitType exit_type, UINT exit_code) |
Static Public Attributes | |
static constexpr char | kExitTypeCancelable [] = "cancelable" |
static constexpr char | kExitTypeRequired [] = "required" |
Protected Member Functions | |
virtual void | GetPlainText (std::unique_ptr< MethodResult< rapidjson::Document > > result, std::string_view key) |
virtual void | GetHasStrings (std::unique_ptr< MethodResult< rapidjson::Document > > result) |
virtual void | SetPlainText (const std::string &text, std::unique_ptr< MethodResult< rapidjson::Document > > result) |
virtual void | SystemSoundPlay (const std::string &sound_type, std::unique_ptr< MethodResult< rapidjson::Document > > result) |
virtual void | SystemExitApplication (AppExitType exit_type, UINT exit_code, std::unique_ptr< MethodResult< rapidjson::Document > > result) |
virtual void | QuitApplication (std::optional< HWND > hwnd, std::optional< WPARAM > wparam, std::optional< LPARAM > lparam, UINT exit_code) |
virtual void | RequestAppExitSuccess (std::optional< HWND > hwnd, std::optional< WPARAM > wparam, std::optional< LPARAM > lparam, const rapidjson::Document *result, UINT exit_code) |
Static Protected Attributes | |
static constexpr char | kClipboardError [] = "Clipboard error" |
static constexpr char | kSoundTypeAlert [] = "SystemSoundType.alert" |
Definition at line 18 of file platform_handler.h.
|
explicit |
Definition at line 26 of file platform_handler.cc.
|
explicit |
Definition at line 222 of file platform_handler.cc.
|
virtualdefault |
|
protectedvirtual |
Definition at line 294 of file platform_handler.cc.
|
protectedvirtual |
Definition at line 248 of file platform_handler.cc.
|
protectedvirtual |
Definition at line 440 of file platform_handler.cc.
|
virtual |
Definition at line 401 of file platform_handler.cc.
|
protectedvirtual |
Definition at line 421 of file platform_handler.cc.
|
protectedvirtual |
Definition at line 333 of file platform_handler.cc.
|
protectedvirtual |
Definition at line 376 of file platform_handler.cc.
|
protectedvirtual |
Definition at line 365 of file platform_handler.cc.
|
staticconstexprprotected |
Definition at line 104 of file platform_handler.h.
|
staticconstexpr |
Definition at line 44 of file platform_handler.h.
|
staticconstexpr |
Definition at line 45 of file platform_handler.h.
|
staticconstexprprotected |
Definition at line 106 of file platform_handler.h.