X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Faccessibility-bridge.h;h=6d30da6e6e59cdb66b8494e403d1f64e98e2717b;hb=0c1d27e964b7ef74d70c38f850af69869191afa5;hp=38ccd70ae27793b8bf63afe63e4a54aa76d38929;hpb=5ff6b83b7d0cd169c721c3c92ba17681ec4bafa5;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/accessibility-bridge.h b/dali/devel-api/adaptor-framework/accessibility-bridge.h index 38ccd70..6d30da6 100644 --- a/dali/devel-api/adaptor-framework/accessibility-bridge.h +++ b/dali/devel-api/adaptor-framework/accessibility-bridge.h @@ -2,7 +2,7 @@ #define DALI_ADAPTOR_ACCESSIBILITY_BRIDGE_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2024 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ // EXTERNAL INCLUDES #include +#include #include #include #include @@ -364,14 +365,11 @@ struct DALI_ADAPTOR_API Bridge * Screen-reader might receive this event and reply, that given keycode is consumed. In that case * further processing of the keycode should be ignored. * - * @param[in] type Key event type - * @param[in] keyCode Key code - * @param[in] keyName Key name - * @param[in] timeStamp Time stamp - * @param[in] isText Whether it's text or not - * @return Whether this event is consumed or not - **/ - virtual Consumed Emit(KeyEventType type, unsigned int keyCode, const std::string& keyName, unsigned int timeStamp, bool isText) = 0; + * @param[in] keyEvent The key event + * @param[in] callback Notification if the event was consumed + * @return true if the event was emitted + */ + virtual bool EmitKeyEvent(Dali::KeyEvent keyEvent, std::function callback) = 0; /** * @brief Reads given text by screen reader