diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-06 17:27:10 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-06 17:27:10 +0800 |
| commit | 6315e654ce0be2d2cc148e9ff80f611ac1176348 (patch) | |
| tree | 8232fedd7bbe87d635563e743e22781e20f83376 /include/cru/platform/gui/InputMethod.h | |
| parent | 38b1268028d4d631de15ca85826c241e39c82675 (diff) | |
| download | cru-6315e654ce0be2d2cc148e9ff80f611ac1176348.tar.gz cru-6315e654ce0be2d2cc148e9ff80f611ac1176348.tar.bz2 cru-6315e654ce0be2d2cc148e9ff80f611ac1176348.zip | |
Refactor Event.
Diffstat (limited to 'include/cru/platform/gui/InputMethod.h')
| -rw-r--r-- | include/cru/platform/gui/InputMethod.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/platform/gui/InputMethod.h b/include/cru/platform/gui/InputMethod.h index d178cb8a..2d5d0b76 100644 --- a/include/cru/platform/gui/InputMethod.h +++ b/include/cru/platform/gui/InputMethod.h @@ -61,6 +61,6 @@ struct IInputMethodContext : virtual IPlatformResource { virtual IEvent<std::nullptr_t>* CompositionStartEvent() = 0; virtual IEvent<std::nullptr_t>* CompositionEndEvent() = 0; virtual IEvent<std::nullptr_t>* CompositionEvent() = 0; - virtual IEvent<std::string>* TextEvent() = 0; + virtual IEvent<const std::string&>* TextEvent() = 0; }; } // namespace cru::platform::gui |
