summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_config.c14
-rw-r--r--src/lib/elm_config.h27
2 files changed, 39 insertions, 2 deletions
diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index bf5a3a34f..2176432e1 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -4111,13 +4111,25 @@ elm_config_transition_duration_factor_set(double factor)
edje_transition_duration_factor_set(_elm_config->transition_duration_factor);
}
-
EAPI double
elm_config_transition_duration_factor_get(void)
{
return _elm_config->transition_duration_factor;
}
+EAPI void
+elm_config_web_backend_set(const char *backend)
+{
+ if (_elm_web_init(backend))
+ _elm_config->web_backend = backend;
+}
+
+EAPI const char *
+elm_config_web_backend_get(void)
+{
+ return _elm_config->web_backend;
+}
+
void
_elm_config_profile_set(const char *profile)
{
diff --git a/src/lib/elm_config.h b/src/lib/elm_config.h
index 746a171bb..0283dfca3 100644
--- a/src/lib/elm_config.h
+++ b/src/lib/elm_config.h
@@ -2079,6 +2079,31 @@ EAPI void elm_config_transition_duration_factor_set(double factor);
EAPI double elm_config_transition_duration_factor_get(void);
/**
- * @}
+ * Set the backend engine used by Elm_Web widget
+ *
+ * This function set the name of the external module used by
+ * elm_web to render web page.
+ *
+ * @param backend The new backend to use.
+ *
+ * @since 1.18
+ * @see elm_config_web_backend_get()
*/
+EAPI void elm_config_web_backend_set(const char *backend);
+/**
+ * Get the currently set backend engine used by Elm_Web widget
+ *
+ * This function get the name of the external module used by
+ * elm_web to render web page.
+ *
+ * @return The new backend to use.
+ *
+ * @since 1.18
+ * @see elm_config_web_backend_set()
+ */
+EAPI const char *elm_config_web_backend_get(void);
+
+/**
+ * @}
+ */