From 72170fcc7c34a447bf6d579aa11ad0a3c079ea01 Mon Sep 17 00:00:00 2001 From: "Junseok, Kim" Date: Wed, 14 Apr 2021 08:45:05 +0900 Subject: [PATCH] e_test_event: added method for add/del supported_aux_hint Change-Id: I6bca814a02714ba1dbf12d963e1ef4251cbe731d --- src/e_test_event.cpp | 30 ++++++++++++++++++++++++++++++ src/e_test_event.h | 2 ++ 2 files changed, 32 insertions(+) diff --git a/src/e_test_event.cpp b/src/e_test_event.cpp index 2cd2fce..aedde41 100644 --- a/src/e_test_event.cpp +++ b/src/e_test_event.cpp @@ -1166,6 +1166,36 @@ etRunner::thawEvent() } Eina_Bool +etRunner::addSupportedAuxHint(const char *hint) +{ + Eldbus_Pending *p = NULL; + p = eldbus_proxy_call(dbus.ds_proxy, + "AddSupportedAuxHint", + NULL, + NULL, + -1, + "s", + hint); + EINA_SAFETY_ON_NULL_RETURN_VAL(p, EINA_FALSE); + return EINA_TRUE; +} + +Eina_Bool +etRunner::delSupportedAuxHint(const char *hint) +{ + Eldbus_Pending *p = NULL; + p = eldbus_proxy_call(dbus.ds_proxy, + "DelSupportedAuxHint", + NULL, + NULL, + -1, + "s", + hint); + EINA_SAFETY_ON_NULL_RETURN_VAL(p, EINA_FALSE); + return EINA_TRUE; +} + +Eina_Bool etRunner::waitEvent(etWin *win, E_TC_Event_Type ev_type) { E_TC_Event_Item *recv_item = NULL; diff --git a/src/e_test_event.h b/src/e_test_event.h index a237982..76aa18c 100644 --- a/src/e_test_event.h +++ b/src/e_test_event.h @@ -176,6 +176,8 @@ public: Eina_Bool freezeEvent(); Eina_Bool thawEvent(); Eina_Bool waitEvent(etWin *win, E_TC_Event_Type ev_type); + Eina_Bool addSupportedAuxHint(const char *hint); + Eina_Bool delSupportedAuxHint(const char *hint); Eina_Bool requestKillWinByName(const char *name); void flushEventQueue(); -- 2.7.4