EAPI Eina_Bool edje_external_param_string_get(const Eina_List *params, const char *key, const char **ret);
EAPI Eina_Bool edje_external_param_bool_get(const Eina_List *params, const char *key, Eina_Bool *ret);
EAPI const Edje_External_Param_Info *edje_external_param_info_get(const char *type_name);
-
+ EAPI const Edje_External_Type *edje_external_type_get(const char *type_name);
+
/* edje_module.c */
EAPI Eina_Bool edje_module_load(const char *module);
EAPI const Eina_List *edje_available_modules_get(void);
return EINA_FALSE;
}
+/**
+ * Get the array of parameters information about a type given its name.
+ *
+ * @note the type names and other strings are static, that means they
+ * @b NOT translated. One must use
+ * Edje_External_Type::translate() to translate those.
+ *
+ * @return the NULL terminated array, or @c NULL if type is unknown or
+ * it does not have any parameter information.
+ *
+ * @see edje_external_type_get()
+ */
EAPI const Edje_External_Param_Info *
edje_external_param_info_get(const char *type_name)
{
return type->parameters_info;
}
+EAPI const Edje_External_Type *
+edje_external_type_get(const char *type_name)
+{
+ return eina_hash_find(type_registry, type_name);
+}
+
void
_edje_external_init()
{