Changeset View
Changeset View
Standalone View
Standalone View
src/server/textinput_interface_v0.cpp
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Line(s) | 58 | private: | |||
---|---|---|---|---|---|
70 | 70 | | |||
71 | // helpers | 71 | // helpers | ||
72 | TextInputInterface::ContentHints convertContentHint(uint32_t hint) const override; | 72 | TextInputInterface::ContentHints convertContentHint(uint32_t hint) const override; | ||
73 | TextInputInterface::ContentPurpose convertContentPurpose(uint32_t purpose) const override; | 73 | TextInputInterface::ContentPurpose convertContentPurpose(uint32_t purpose) const override; | ||
74 | 74 | | |||
75 | quint32 latestState = 0; | 75 | quint32 latestState = 0; | ||
76 | }; | 76 | }; | ||
77 | 77 | | |||
78 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 78 | #ifndef K_DOXYGEN | ||
79 | const struct wl_text_input_interface TextInputUnstableV0Interface::Private::s_interface = { | 79 | const struct wl_text_input_interface TextInputUnstableV0Interface::Private::s_interface = { | ||
80 | activateCallback, | 80 | activateCallback, | ||
81 | deactivateCallback, | 81 | deactivateCallback, | ||
82 | showInputPanelCallback, | 82 | showInputPanelCallback, | ||
83 | hideInputPanelCallback, | 83 | hideInputPanelCallback, | ||
84 | resetCallback, | 84 | resetCallback, | ||
85 | setSurroundingTextUintCallback, | 85 | setSurroundingTextUintCallback, | ||
86 | setContentTypeCallback, | 86 | setContentTypeCallback, | ||
▲ Show 20 Lines • Show All 281 Lines • ▼ Show 20 Line(s) | 360 | private: | |||
368 | static void createTextInputCallback(wl_client *client, wl_resource *resource, uint32_t id); | 368 | static void createTextInputCallback(wl_client *client, wl_resource *resource, uint32_t id); | ||
369 | 369 | | |||
370 | TextInputManagerUnstableV0Interface *q; | 370 | TextInputManagerUnstableV0Interface *q; | ||
371 | static const struct wl_text_input_manager_interface s_interface; | 371 | static const struct wl_text_input_manager_interface s_interface; | ||
372 | static const quint32 s_version; | 372 | static const quint32 s_version; | ||
373 | }; | 373 | }; | ||
374 | const quint32 TextInputManagerUnstableV0Interface::Private::s_version = 1; | 374 | const quint32 TextInputManagerUnstableV0Interface::Private::s_version = 1; | ||
375 | 375 | | |||
376 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 376 | #ifndef K_DOXYGEN | ||
377 | const struct wl_text_input_manager_interface TextInputManagerUnstableV0Interface::Private::s_interface = { | 377 | const struct wl_text_input_manager_interface TextInputManagerUnstableV0Interface::Private::s_interface = { | ||
378 | createTextInputCallback | 378 | createTextInputCallback | ||
379 | }; | 379 | }; | ||
380 | #endif | 380 | #endif | ||
381 | 381 | | |||
382 | void TextInputManagerUnstableV0Interface::Private::createTextInputCallback(wl_client *client, wl_resource *resource, uint32_t id) | 382 | void TextInputManagerUnstableV0Interface::Private::createTextInputCallback(wl_client *client, wl_resource *resource, uint32_t id) | ||
383 | { | 383 | { | ||
384 | auto m = cast(resource); | 384 | auto m = cast(resource); | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |