Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
flutter::ImmContext Class Reference

Public Member Functions

 ImmContext (HWND window_handle)
 
 ~ImmContext ()
 
bool IsValid () const
 
HIMC get ()
 

Detailed Description

Definition at line 17 of file text_input_manager.cc.

Constructor & Destructor Documentation

◆ ImmContext()

flutter::ImmContext::ImmContext ( HWND  window_handle)
inline

Definition at line 19 of file text_input_manager.cc.

20 : context_(::ImmGetContext(window_handle)),
21 window_handle_(window_handle) {
22 FML_DCHECK(window_handle);
23 }
#define FML_DCHECK(condition)
Definition logging.h:103

◆ ~ImmContext()

flutter::ImmContext::~ImmContext ( )
inline

Definition at line 25 of file text_input_manager.cc.

25 {
26 if (context_ != nullptr) {
27 ::ImmReleaseContext(window_handle_, context_);
28 }
29 }

Member Function Documentation

◆ get()

HIMC flutter::ImmContext::get ( )
inline

Definition at line 35 of file text_input_manager.cc.

35 {
36 FML_DCHECK(context_);
37 return context_;
38 }

◆ IsValid()

bool flutter::ImmContext::IsValid ( ) const
inline

Definition at line 32 of file text_input_manager.cc.

32{ return context_ != nullptr; }

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