diff options
Diffstat (limited to 'search/viewport_search_params.hpp')
-rw-r--r-- | search/viewport_search_params.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/search/viewport_search_params.hpp b/search/viewport_search_params.hpp new file mode 100644 index 0000000000..5067ef5eb4 --- /dev/null +++ b/search/viewport_search_params.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include "std/function.hpp" +#include "std/string.hpp" + +namespace search +{ +struct ViewportSearchParams +{ + using TOnStarted = function<void()>; + using TOnCompleted = function<void()>; + + string m_query; + string m_inputLocale; + + TOnStarted m_onStarted; + TOnCompleted m_onCompleted; +}; +} // namespace search |