Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
flutter::KeyboardHandlerBase Class Referenceabstract

#include <keyboard_handler_base.h>

Inheritance diagram for flutter::KeyboardHandlerBase:
flutter::KeyboardKeyHandler

Public Types

using KeyEventCallback = std::function< void(bool)>
 

Public Member Functions

virtual ~KeyboardHandlerBase ()=default
 
virtual void KeyboardHook (int key, int scancode, int action, char32_t character, bool extended, bool was_down, KeyEventCallback callback)=0
 
virtual void SyncModifiersIfNeeded (int modifiers_state)=0
 
virtual std::map< uint64_t, uint64_t > GetPressedState ()=0
 

Detailed Description

Definition at line 18 of file keyboard_handler_base.h.

Member Typedef Documentation

◆ KeyEventCallback

Definition at line 20 of file keyboard_handler_base.h.

Constructor & Destructor Documentation

◆ ~KeyboardHandlerBase()

virtual flutter::KeyboardHandlerBase::~KeyboardHandlerBase ( )
virtualdefault

Member Function Documentation

◆ GetPressedState()

virtual std::map< uint64_t, uint64_t > flutter::KeyboardHandlerBase::GetPressedState ( )
pure virtual

Implemented in flutter::KeyboardKeyHandler.

◆ KeyboardHook()

virtual void flutter::KeyboardHandlerBase::KeyboardHook ( int  key,
int  scancode,
int  action,
char32_t  character,
bool  extended,
bool  was_down,
KeyEventCallback  callback 
)
pure virtual

Implemented in flutter::KeyboardKeyHandler.

◆ SyncModifiersIfNeeded()

virtual void flutter::KeyboardHandlerBase::SyncModifiersIfNeeded ( int  modifiers_state)
pure virtual

Implemented in flutter::KeyboardKeyHandler.


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