summaryrefslogtreecommitdiff
path: root/src/lib/efl/Efl.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2018-12-06 16:38:47 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-01-09 11:02:11 -0800
commit4fe4f76b8c8d0bdcacc5c045a95b1431dda964ff (patch)
tree3cdad6250c6a02c43b7f8dc9e8f293ed50189e16 /src/lib/efl/Efl.h
parent7245567fe6b1ec4e7101b1c5d1a293366170cc72 (diff)
elementary: add a factory that handle caching for you.
This factory handle caching of one type of object and automatically empty the cache when the application goes into pause. Creating object is costly and time consuming, keeping a few on hands for when you next will need them help a lot. This is what this factory caching infrastructure provide. It will create the object from the class defined on it, set the parent and the model as needed for all items a Factory create. The View has to release the Item using the release function of the Factory interface for all of this to work properly. This is copying what Elm_Genlist was doing for you in the background and bring Efl interface to parity. Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7443
Diffstat (limited to '')
-rw-r--r--src/lib/efl/Efl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/efl/Efl.h b/src/lib/efl/Efl.h
index 7da806c779..af6154b766 100644
--- a/src/lib/efl/Efl.h
+++ b/src/lib/efl/Efl.h
@@ -149,6 +149,7 @@ typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command;
149#include "interfaces/efl_ui_model_connect.eo.h" 149#include "interfaces/efl_ui_model_connect.eo.h"
150#include "interfaces/efl_ui_factory.eo.h" 150#include "interfaces/efl_ui_factory.eo.h"
151#include "interfaces/efl_ui_format.eo.h" 151#include "interfaces/efl_ui_format.eo.h"
152#include "interfaces/efl_cached_item.eo.h"
152 153
153/* Observable interface */ 154/* Observable interface */
154#include "interfaces/efl_observer.eo.h" 155#include "interfaces/efl_observer.eo.h"