ecore: prevent duplication of children for Efl.Composite_Model and enable dummy object.
authorCedric BAIL <cedric.bail@free.fr>
Thu, 28 Feb 2019 02:17:30 +0000 (18:17 -0800)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:37 +0000 (20:49 +0900)
commit0b2b65dafab21f7512b0b8ab0ebac984daa004dd
treebf8704c93bf903953eeb10839ff9b5b1d0621282
parent83719be58db9532ad6f39317cddffa7a3202db24
ecore: prevent duplication of children for Efl.Composite_Model and enable dummy object.

This patch allow Efl.Composite_Model to return always the same object for the same index.
This way, it make it easier for the Model to always be in sync even if there is multiple
user at any time. The support for dummy object allow the Composite_Model to host more
object than what the source model provide. This dummy model will only have the property
of the Composite_Model and none of the Source model ofcourse.

Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D8045
src/lib/ecore/efl_composite_model.c
src/lib/ecore/efl_composite_model.eo