23#include "utility/event/text_input_event.hpp"
25namespace utility::event
28 TextInputEvent::Factory::~Factory(
void) =
default;
32 return std::make_unique<TextInputEvent>();
35 std::shared_ptr<TextInputEvent>
38 return std::make_unique<TextInputEvent>();
std::shared_ptr< Event > create(void) const override
Create a TextInputEvent as a base Event pointer.
std::shared_ptr< TextInputEvent > createTyped(void) const
Create a strongly-typed TextInputEvent.
Text input event for committed UTF-8 text.
TextInputEvent & setText(const std::string &text)
Set committed UTF-8 text.
~TextInputEvent(void) override
Default destructor.
std::string getText(void) const
Get committed UTF-8 text.
TextInputEvent(void)
Default constructor.