| Flutter Windows Embedder |

Public Member Functions | List of all members
flutter::CursorHandler Class Reference

`#include <cursor_handler.h>`

## Public Member Functions
| CursorHandler (flutter::BinaryMessenger *messenger, flutter::FlutterWindowsEngine *engine)

## Detailed Description

Definition at line 22 of file cursor_handler.h.

## Constructor & Destructor Documentation

## ◆ CursorHandler()

flutter::CursorHandler::CursorHandler | ( | flutter::BinaryMessenger * | messenger,
|  | flutter::FlutterWindowsEngine * | engine
| ) |  |
| explicit

Definition at line 50 of file cursor_handler.cc.

52 : channel_(std::make_unique<MethodChannel<EncodableValue>>(
53 messenger,
54 kChannelName,
55 &StandardMethodCodec::GetInstance())),
56 engine_(engine) {
57 channel_->SetMethodCallHandler(
58 [this](const MethodCall<EncodableValue>& call,
59 std::unique_ptr<MethodResult<EncodableValue>> result) {
60 HandleMethodCall(call, std::move(result));
61 });
62 }
flutter::StandardMethodCodec::GetInstance
static const StandardMethodCodec & GetInstance(const StandardCodecSerializer *serializer=nullptr)
Definition: standard_codec.cc:340
kChannelName
static constexpr char kChannelName[]
Definition: cursor_handler.cc:13

The documentation for this class was generated from the following files:

- shell/platform/windows/cursor_handler.h
- shell/platform/windows/cursor_handler.cc