<html> <head> <title>Edje: Cache</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <meta name="author" content="Andres Blanc" > <link rel="icon" href="img/favicon.png" type="image/x-icon"> <link rel="shortcut icon" href="img/favicon.png" type="image/x-icon"> <link rel="icon" href="img/favicon.png" type="image/ico"> <link rel="shortcut icon" href="img/favicon.png" type="image/ico"> <link rel="stylesheet" type="text/css" href="e.css"> <link rel="stylesheet" type="text/css" href="edoxy.css"> </head> <body> <div id="container"> <div id="header"> <div class="layout"> <h1><span>Enlightenment</span></h1> <h2><span>Beauty at your fingertips</span></h2> <table cellspacing="0" cellpadding="0" width="100%"><tr> <td id="header_logo"> <a href="http://www.enlightenment.org"></a> </td> <td id="header_menu"> <table cellspacing="0" cellpadding="0" align="right"><tr> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=home">Home</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=news">News</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=about">About</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=download">Download</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=support">Support</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=contribute">Contribute</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=contact">Contact</a></td> <td class="nav_passive"><a class="nav_passive" href="http://trac.enlightenment.org/e">Tracker</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=docs">Docs</a></td> </tr></table> </td> <td id="header_last"></td> </tr></table> <div class="doxytitle"> Edje Documentation <small>at Tue Feb 8 2011</small> </div> <div class="menu-container"> <div class="submenu"> <ul class="current"> <li><a href="files.html">Files</a></li> <li><a href="Edje__Edit_8h.html">Edje Edit API</a></li> <li><a href="examples.html">Examples</a></li> <li><a href="luaref.html">LUA scripting</a></li> <li><a href="Edje_8h.html">Edje API</a></li> <li><a href="edcref.html">EDC Reference</a></li> <li class="current"><a href="index.html">Main Page</a></li> </ul> </div> </div> <div class="clear"></div> </div> </div> <div id="content"> <div class="layout"> <!-- Generated by Doxygen 1.7.3 --> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>Cache</h1> </div> </div> <div class="contents"> <p>These functions provide an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations. <a href="#_details">More...</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Edje__cache__Group.html#ga8e769845dab32004d1d314a8fdd42d65">edje_collection_cache_flush</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clean the collection cache. <a href="#ga8e769845dab32004d1d314a8fdd42d65"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Edje__cache__Group.html#gaa1af505d51c3f70e0a5cbde53552b608">edje_collection_cache_get</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the collection cache size. <a href="#gaa1af505d51c3f70e0a5cbde53552b608"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Edje__cache__Group.html#gaac0f4d076841a735bb6ea13f528f76c9">edje_collection_cache_set</a> (int count)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the collection cache size. <a href="#gaac0f4d076841a735bb6ea13f528f76c9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Edje__cache__Group.html#gae39e93a49f12a137f3212eb374a81e07">edje_file_cache_flush</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clean the file cache. <a href="#gae39e93a49f12a137f3212eb374a81e07"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Edje__cache__Group.html#ga877530b11d86de9936278ca699a361e5">edje_file_cache_get</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the file cache size. <a href="#ga877530b11d86de9936278ca699a361e5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Edje__cache__Group.html#ga07e70542e1a7e6f545de5004f6d53951">edje_file_cache_set</a> (int count)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the file cache size. <a href="#ga07e70542e1a7e6f545de5004f6d53951"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>These functions provide an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ga8e769845dab32004d1d314a8fdd42d65"></a><!-- doxytag: member="edje_cache.c::edje_collection_cache_flush" ref="ga8e769845dab32004d1d314a8fdd42d65" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void edje_collection_cache_flush </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Clean the collection cache. </p> <p>This function cleans the collection cache, but keeps this cache's size to the last value set.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__Edje__cache__Group.html#gaac0f4d076841a735bb6ea13f528f76c9" title="Set the collection cache size.">edje_collection_cache_set()</a> </dd> <dd> <a class="el" href="group__Edje__cache__Group.html#gaa1af505d51c3f70e0a5cbde53552b608" title="Return the collection cache size.">edje_collection_cache_get()</a> </dd></dl> <p>References <a class="el" href="edje__cache_8c.html#a0d70a48824d2215bcf0a24714274182b">_edje_cache_coll_flush()</a>.</p> </div> </div> <a class="anchor" id="gaa1af505d51c3f70e0a5cbde53552b608"></a><!-- doxytag: member="edje_cache.c::edje_collection_cache_get" ref="gaa1af505d51c3f70e0a5cbde53552b608" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI int edje_collection_cache_get </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Return the collection cache size. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The collection cache size, in edje object units. Default is 16.</dd></dl> <p>This function returns the collection cache size set by <a class="el" href="group__Edje__cache__Group.html#gaac0f4d076841a735bb6ea13f528f76c9" title="Set the collection cache size.">edje_collection_cache_set()</a>.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__Edje__cache__Group.html#gaac0f4d076841a735bb6ea13f528f76c9" title="Set the collection cache size.">edje_collection_cache_set()</a> </dd> <dd> <a class="el" href="group__Edje__cache__Group.html#ga8e769845dab32004d1d314a8fdd42d65" title="Clean the collection cache.">edje_collection_cache_flush()</a> </dd></dl> </div> </div> <a class="anchor" id="gaac0f4d076841a735bb6ea13f528f76c9"></a><!-- doxytag: member="edje_cache.c::edje_collection_cache_set" ref="gaac0f4d076841a735bb6ea13f528f76c9" args="(int count)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void edje_collection_cache_set </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>count</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Set the collection cache size. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">count</td><td>The collection cache size, in edje object units. Default is 16.</td></tr> </table> </dd> </dl> <p>This function sets the collection cache size. Edje keeps this cache in order to prevent duplicates of edje {collection,group,part} entries in memory. The collection cache size can be retrieved with <a class="el" href="group__Edje__cache__Group.html#gaa1af505d51c3f70e0a5cbde53552b608" title="Return the collection cache size.">edje_collection_cache_get()</a>.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__Edje__cache__Group.html#gaa1af505d51c3f70e0a5cbde53552b608" title="Return the collection cache size.">edje_collection_cache_get()</a> </dd> <dd> <a class="el" href="group__Edje__cache__Group.html#ga8e769845dab32004d1d314a8fdd42d65" title="Clean the collection cache.">edje_collection_cache_flush()</a> </dd></dl> <p>References <a class="el" href="edje__cache_8c.html#abcc6072ad5b4d2e7a5d8a7db09c7629e">_edje_cache_coll_clean()</a>.</p> </div> </div> <a class="anchor" id="gae39e93a49f12a137f3212eb374a81e07"></a><!-- doxytag: member="edje_cache.c::edje_file_cache_flush" ref="gae39e93a49f12a137f3212eb374a81e07" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void edje_file_cache_flush </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Clean the file cache. </p> <p>This function cleans the file cache entries, but keeps this cache's size to the last value set.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__Edje__cache__Group.html#ga07e70542e1a7e6f545de5004f6d53951" title="Set the file cache size.">edje_file_cache_set()</a> </dd> <dd> <a class="el" href="group__Edje__cache__Group.html#ga877530b11d86de9936278ca699a361e5" title="Return the file cache size.">edje_file_cache_get()</a> </dd></dl> <p>Referenced by <a class="el" href="edje__private_8h.html#a4cd3884cb4eee07717900869ecfa8306">_edje_file_cache_shutdown()</a>.</p> </div> </div> <a class="anchor" id="ga877530b11d86de9936278ca699a361e5"></a><!-- doxytag: member="edje_cache.c::edje_file_cache_get" ref="ga877530b11d86de9936278ca699a361e5" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI int edje_file_cache_get </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Return the file cache size. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The file cache size in edje file units. Default is 16.</dd></dl> <p>This function returns the file cache size set by <a class="el" href="group__Edje__cache__Group.html#ga07e70542e1a7e6f545de5004f6d53951" title="Set the file cache size.">edje_file_cache_set()</a>.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__Edje__cache__Group.html#ga07e70542e1a7e6f545de5004f6d53951" title="Set the file cache size.">edje_file_cache_set()</a> </dd> <dd> <a class="el" href="group__Edje__cache__Group.html#gae39e93a49f12a137f3212eb374a81e07" title="Clean the file cache.">edje_file_cache_flush()</a> </dd></dl> </div> </div> <a class="anchor" id="ga07e70542e1a7e6f545de5004f6d53951"></a><!-- doxytag: member="edje_cache.c::edje_file_cache_set" ref="ga07e70542e1a7e6f545de5004f6d53951" args="(int count)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void edje_file_cache_set </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>count</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Set the file cache size. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">count</td><td>The file cache size in edje file units. Default is 16.</td></tr> </table> </dd> </dl> <p>This function sets the file cache size. Edje keeps this cache in order to prevent duplicates of edje file entries in memory. The file cache size can be retrieved with <a class="el" href="group__Edje__cache__Group.html#ga877530b11d86de9936278ca699a361e5" title="Return the file cache size.">edje_file_cache_get()</a>.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__Edje__cache__Group.html#ga877530b11d86de9936278ca699a361e5" title="Return the file cache size.">edje_file_cache_get()</a> </dd> <dd> <a class="el" href="group__Edje__cache__Group.html#gae39e93a49f12a137f3212eb374a81e07" title="Clean the file cache.">edje_file_cache_flush()</a> </dd></dl> </div> </div> </div> <div id="push"></div> </div> <!-- #content --> </div> <!-- .layout --> </div> <!-- #container --> <div id="footer"> <table><tr> <td class="copyright">Copyright ©2011 Enlightenment</td> <td class="generated">Docs generated Tue Feb 8 2011 17:28:43</td> </tr></table> </div> </body> </html>