[core,utils] add freerdp_input_touch_state_string

* Add freerdp_input_touch_state_string
* Remove duplicate from xfreerdp
This commit is contained in:
akallabeth
2026-01-25 07:58:16 +01:00
parent d4ae1a546f
commit 6673e8a86f
3 changed files with 36 additions and 20 deletions

View File

@@ -56,6 +56,16 @@ extern "C"
*/
FREERDP_API WINPR_ATTR_NODISCARD const char*
freerdp_desktop_rotation_flags_to_string(UINT32 flags);
/** @brief Convert a single \ref RDPINPUT_CONTACT_FLAGS to string
*
* @param flags The value to convert
* @return A constant string representation of \ref flag or the string \b
* RDPINPUT_CONTACT_FLAG_UNKNOWN for an invalid value
* @since verstion 3.22.0
*/
FREERDP_API WINPR_ATTR_NODISCARD const char* freerdp_input_touch_state_string(DWORD flags);
#ifdef __cplusplus
}
#endif