[HOTFIX] Create dummy APIs for WRT build
authoryh106.jung <yh106.jung@samsung.com>
Thu, 28 May 2015 13:50:43 +0000 (22:50 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
This is hotfix for WRT build.
Create dummy for below APIs:
ewk_context_notification_callbacks_set
ewk_context_notification_callbacks_reset

original gerrit: http://165.213.202.130/gerrit/#/c/75818/
Reviewed by: Hyunhak Kim, Marcin Krakowiak

Change-Id: I727181807a5b994786b88923ce4ede7e629b540b
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
tizen_src/ewk/efl_integration/public/ewk_context.cc
tizen_src/ewk/efl_integration/public/ewk_context.h

index 3c1e703..ad3de6f 100644 (file)
@@ -592,3 +592,15 @@ Ewk_Storage_Manager* ewk_context_storage_manager_get(const Ewk_Context* ewkConte
   return NULL;
 }
 #endif // OS_TIZEN_TV
+
+Eina_Bool ewk_context_notification_callbacks_set(Ewk_Context* context,
+    Ewk_Context_Notification_Show_Callback show_callback,
+    Ewk_Context_Notification_Cancel_Callback cancel_callback, void* user_data)
+{
+  return EINA_TRUE;
+}
+
+Eina_Bool ewk_context_notification_callbacks_reset(Ewk_Context* context)
+{
+  return EINA_TRUE;
+}
index 6a08bca..5297cb1 100644 (file)
@@ -11,6 +11,7 @@
 #include "ewk_cookie_manager.h"
 #include "ewk_enums.h"
 #include "ewk_export.h"
+#include "ewk_notification.h"
 #include "ewk_security_origin.h"
 #include "ewk_application_cache_manager.h"
 #include "ewk_favicon_database.h"
@@ -44,6 +45,11 @@ typedef enum Ewk_Extensible_API Ewk_Extensible_API;
 typedef struct Ewk_Context Ewk_Context;
 typedef struct Ewk_Context_Exceeded_Quota Ewk_Context_Exceeded_Quota;
 
+typedef void (*Ewk_Context_Notification_Show_Callback)(Ewk_Context*,
+    Ewk_Notification*, void*);
+typedef void (*Ewk_Context_Notification_Cancel_Callback)(Ewk_Context*,
+    uint64_t, void*);
+
 /**
  * Deletes Ewk_Context.
  *
@@ -954,6 +960,12 @@ EAPI void ewk_context_preferred_languages_set(Eina_List *languages);
  */
 EAPI Ewk_Storage_Manager *ewk_context_storage_manager_get(const Ewk_Context *context);
 
+EAPI Eina_Bool ewk_context_notification_callbacks_set(Ewk_Context* context,
+    Ewk_Context_Notification_Show_Callback show_callback,
+    Ewk_Context_Notification_Cancel_Callback cancel_callback, void* user_data);
+
+EAPI Eina_Bool ewk_context_notification_callbacks_reset(Ewk_Context* context);
+
 #ifdef __cplusplus
 }
 #endif