Flutter Windows Embedder
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  }

◆ ~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

◆ IsValid()

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

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