edje: Remove part_external_content_get from EO
I couldn't find a use of this API. This looks like it returns an object inside a part inside an external (so, inside an edje). Kept as legacy only.
This commit is contained in:
parent
554dd9facf
commit
7ce7d4cc27
|
@ -480,6 +480,22 @@ EAPI Eina_Bool edje_object_part_external_param_set(Edje_Object *obj, const char
|
||||||
*/
|
*/
|
||||||
EAPI Eina_Bool edje_object_part_external_param_get(const Edje_Object *obj, const char *part, Edje_External_Param *param);
|
EAPI Eina_Bool edje_object_part_external_param_get(const Edje_Object *obj, const char *part, Edje_External_Param *param);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Gets an object contained in an part of type EXTERNAL
|
||||||
|
*
|
||||||
|
* The content string must not be @c null. Its actual value depends on the code
|
||||||
|
* providing the EXTERNAL.
|
||||||
|
*
|
||||||
|
* @param[in] part The name of the part holding the EXTERNAL
|
||||||
|
* @param[in] content A string identifying which content from the EXTERNAL to
|
||||||
|
* get
|
||||||
|
*
|
||||||
|
* @return Canvas object
|
||||||
|
*
|
||||||
|
* @ingroup Edje_Object
|
||||||
|
*/
|
||||||
|
EAPI Evas_Object *edje_object_part_external_content_get(const Edje_Object *obj, const char *part, const char *content);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -92,8 +92,8 @@ _edje_object_part_external_param_get(Edje *ed, const char *part, Edje_External_P
|
||||||
return _edje_external_param_get(ed->obj, rp, param);
|
return _edje_external_param_get(ed->obj, rp, param);
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN Evas_Object *
|
Evas_Object *
|
||||||
_edje_object_part_external_content_get(Eo *obj EINA_UNUSED, Edje *ed, const char *part, const char *content)
|
_edje_object_part_external_content_get(Edje *ed, const char *part, const char *content)
|
||||||
{
|
{
|
||||||
Edje_Real_Part *rp;
|
Edje_Real_Part *rp;
|
||||||
|
|
||||||
|
|
|
@ -68,8 +68,8 @@ edje_object_part_external_param_set(Eo *obj, const char *part, const Edje_Extern
|
||||||
|
|
||||||
if (!ed || !param || !part) return EINA_FALSE;
|
if (!ed || !param || !part) return EINA_FALSE;
|
||||||
|
|
||||||
#if 1
|
#if 0
|
||||||
/* validate EO API - disable for performance */
|
/* validate EO API - disabled for performance */
|
||||||
Eina_Value *v;
|
Eina_Value *v;
|
||||||
Eina_Bool ok;
|
Eina_Bool ok;
|
||||||
|
|
||||||
|
@ -118,3 +118,11 @@ edje_object_part_external_param_type_get(const Eo *obj, const char *part, const
|
||||||
Edje *ed = _edje_fetch(obj);
|
Edje *ed = _edje_fetch(obj);
|
||||||
return _edje_object_part_external_param_type_get(ed, part, param);
|
return _edje_object_part_external_param_type_get(ed, part, param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Legacy only. Shall we deprecate this API? */
|
||||||
|
EAPI Evas_Object *
|
||||||
|
edje_object_part_external_content_get(const Edje_Object *obj, const char *part, const char *content)
|
||||||
|
{
|
||||||
|
Edje *ed = _edje_fetch(obj);
|
||||||
|
return _edje_object_part_external_content_get(ed, part, content);
|
||||||
|
}
|
||||||
|
|
|
@ -1027,19 +1027,6 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, Efl.Container, Efl.Part,
|
||||||
part: string; [[The part name]]
|
part: string; [[The part name]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property part_external_content {
|
|
||||||
get {
|
|
||||||
[[Gets an object contained in an part of type EXTERNAL
|
|
||||||
|
|
||||||
The content string must not be $null. Its actual value depends on the
|
|
||||||
code providing the EXTERNAL.]]
|
|
||||||
return: Efl.Canvas.Object; [[Canvas object]]
|
|
||||||
}
|
|
||||||
keys {
|
|
||||||
part: string; [[The name of the part holding the EXTERNAL]]
|
|
||||||
content: string; [[A string identifying which content from the EXTERNAL to get]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@property text_change_cb {
|
@property text_change_cb {
|
||||||
set {
|
set {
|
||||||
[[Sets the object text callback.
|
[[Sets the object text callback.
|
||||||
|
|
|
@ -3125,6 +3125,7 @@ Eo *_edje_external_internal_proxy_get(Edje_Object *obj, Edje *ed, Edje_Real_Part
|
||||||
Eina_Bool _edje_object_part_external_param_set(Edje *ed, const char *part, const Edje_External_Param *param);
|
Eina_Bool _edje_object_part_external_param_set(Edje *ed, const char *part, const Edje_External_Param *param);
|
||||||
Eina_Bool _edje_object_part_external_param_get(Edje *ed, const char *part, Edje_External_Param *param);
|
Eina_Bool _edje_object_part_external_param_get(Edje *ed, const char *part, Edje_External_Param *param);
|
||||||
Edje_External_Param_Type _edje_object_part_external_param_type_get(Edje *ed, const char *part, const char *param);
|
Edje_External_Param_Type _edje_object_part_external_param_type_get(Edje *ed, const char *part, const char *param);
|
||||||
|
Evas_Object *_edje_object_part_external_content_get(Edje *ed, const char *part, const char *content);
|
||||||
|
|
||||||
void _edje_internal_proxy_shutdown(void);
|
void _edje_internal_proxy_shutdown(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue