diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-11-21 16:32:29 +0800 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-11-23 12:45:14 +0000 |
commit | 31ff5ce755d00cf12ea2ffc96c33ed9acd36358f (patch) | |
tree | a630609b99490a6c55c97688c5a4f39f273d3583 /doc/api-ref/html/d6 | |
parent | bbb4ee8e9974c4b008da84a1e504120f70606c92 (diff) |
update docguppy_6.99.1guppy/6.99.16.99.1
add new sequence and update doxygen files.
Change-Id: I6737939eb2628577d58b2d1d65086e46e7cb14a4
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'doc/api-ref/html/d6')
-rw-r--r-- | doc/api-ref/html/d6/dda/homescreen_8cpp.html | 841 | ||||
-rw-r--r-- | doc/api-ref/html/d6/dda/homescreen_8cpp_source.html | 138 | ||||
-rw-r--r-- | doc/api-ref/html/d6/de3/structwindow.html | 381 | ||||
-rw-r--r-- | doc/api-ref/html/d6/df5/structdisplay.html | 285 | ||||
-rw-r--r-- | doc/api-ref/html/d6/dff/src_2hmi-debug_8h.html | 490 | ||||
-rw-r--r-- | doc/api-ref/html/d6/dff/src_2hmi-debug_8h_source.html | 109 |
6 files changed, 2244 insertions, 0 deletions
diff --git a/doc/api-ref/html/d6/dda/homescreen_8cpp.html b/doc/api-ref/html/d6/dda/homescreen_8cpp.html new file mode 100644 index 0000000..c9edaec --- /dev/null +++ b/doc/api-ref/html/d6/dda/homescreen_8cpp.html @@ -0,0 +1,841 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.11"/> +<title>HomeScreenBinding: src/homescreen.cpp File Reference</title> +<link href="../../tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../jquery.js"></script> +<script type="text/javascript" src="../../dynsections.js"></script> +<link href="../../search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../search/searchdata.js"></script> +<script type="text/javascript" src="../../search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { init_search(); }); +</script> +<link href="../../doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">HomeScreenBinding + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.11 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="../../index.html"><span>Main Page</span></a></li> + <li><a href="../../annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="../../files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="../../search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="../../files.html"><span>File List</span></a></li> + <li><a href="../../globals.html"><span>File Members</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#define-members">Macros</a> | +<a href="#func-members">Functions</a> | +<a href="#var-members">Variables</a> </div> + <div class="headertitle"> +<div class="title">homescreen.cpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <memory></code><br /> +<code>#include <algorithm></code><br /> +<code>#include "<a class="el" href="../../d3/d3d/hs-helper_8h_source.html">hs-helper.h</a>"</code><br /> +<code>#include "<a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>"</code><br /> +<code>#include "<a class="el" href="../../de/dca/hs-clientmanager_8h_source.html">hs-clientmanager.h</a>"</code><br /> +</div> +<p><a href="../../d6/dda/homescreen_8cpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> +Macros</h2></td></tr> +<tr class="memitem:a369266c24eacffb87046522897a570d5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a369266c24eacffb87046522897a570d5">_GNU_SOURCE</a></td></tr> +<tr class="separator:a369266c24eacffb87046522897a570d5"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:ace65cfe6008848a3cd66581f536cc4c9"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#ace65cfe6008848a3cd66581f536cc4c9">pingSample</a> (afb_req_t request)</td></tr> +<tr class="separator:ace65cfe6008848a3cd66581f536cc4c9"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab8abb667377924d5c073611738febbd3"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#ab8abb667377924d5c073611738febbd3">tap_shortcut</a> (afb_req_t request)</td></tr> +<tr class="separator:ab8abb667377924d5c073611738febbd3"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0df2b60ff6cd56b53dc87b36bfee2b91"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a0df2b60ff6cd56b53dc87b36bfee2b91">on_screen_message</a> (afb_req_t request)</td></tr> +<tr class="separator:a0df2b60ff6cd56b53dc87b36bfee2b91"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7443596f6ddf459824ecd8138c681532"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a7443596f6ddf459824ecd8138c681532">on_screen_reply</a> (afb_req_t request)</td></tr> +<tr class="separator:a7443596f6ddf459824ecd8138c681532"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6e942ab2b7207d2aef9adce71a4574e8"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a6e942ab2b7207d2aef9adce71a4574e8">subscribe</a> (afb_req_t request)</td></tr> +<tr class="separator:a6e942ab2b7207d2aef9adce71a4574e8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3b162ab1856a8fa4284cb2c5c35ea748"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a3b162ab1856a8fa4284cb2c5c35ea748">unsubscribe</a> (afb_req_t request)</td></tr> +<tr class="separator:a3b162ab1856a8fa4284cb2c5c35ea748"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae475c69e7ca2a539ae0fb40a82963ac1"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#ae475c69e7ca2a539ae0fb40a82963ac1">showWindow</a> (afb_req_t request)</td></tr> +<tr class="separator:ae475c69e7ca2a539ae0fb40a82963ac1"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a057c380ea38cfba4e2fbccc40fc21798"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a057c380ea38cfba4e2fbccc40fc21798">hideWindow</a> (afb_req_t request)</td></tr> +<tr class="separator:a057c380ea38cfba4e2fbccc40fc21798"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a710bcc84a61e11dbd4517def2764ff95"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a710bcc84a61e11dbd4517def2764ff95">replyShowWindow</a> (afb_req_t request)</td></tr> +<tr class="separator:a710bcc84a61e11dbd4517def2764ff95"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad96a84455e8676abb4486e48ef67b1ad"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#ad96a84455e8676abb4486e48ef67b1ad">showNotification</a> (afb_req_t request)</td></tr> +<tr class="separator:ad96a84455e8676abb4486e48ef67b1ad"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a916c8dd31373222ee2b6ef89aca91978"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a916c8dd31373222ee2b6ef89aca91978">showInformation</a> (afb_req_t request)</td></tr> +<tr class="separator:a916c8dd31373222ee2b6ef89aca91978"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab3b1914acb53dcc038c1cf86c2975785"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#ab3b1914acb53dcc038c1cf86c2975785">preinit</a> (afb_api_t api)</td></tr> +<tr class="separator:ab3b1914acb53dcc038c1cf86c2975785"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a5d7de3437d5dcb79fa035959d95878db"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a5d7de3437d5dcb79fa035959d95878db">init</a> (afb_api_t api)</td></tr> +<tr class="separator:a5d7de3437d5dcb79fa035959d95878db"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a60665935681c76d38b3833912109cdd3"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a60665935681c76d38b3833912109cdd3">onevent</a> (afb_api_t api, const char *event, struct json_object *object)</td></tr> +<tr class="separator:a60665935681c76d38b3833912109cdd3"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> +Variables</h2></td></tr> +<tr class="memitem:aed1c5296a2e6d34945507a0fca17a376"><td class="memItemLeft" align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a> [] = "error"</td></tr> +<tr class="separator:aed1c5296a2e6d34945507a0fca17a376"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6a0e1db2562b442f8131ddf64b61d1ba"><td class="memItemLeft" align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a> [] = "application_id"</td></tr> +<tr class="separator:a6a0e1db2562b442f8131ddf64b61d1ba"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:abfd6c1d6f316fa952b11553f8f275e92"><td class="memItemLeft" align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#abfd6c1d6f316fa952b11553f8f275e92">_display_message</a> [] = "display_message"</td></tr> +<tr class="separator:abfd6c1d6f316fa952b11553f8f275e92"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a79b0f0b481161527ccb80e83da143219"><td class="memItemLeft" align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a79b0f0b481161527ccb80e83da143219">_reply_message</a> [] = "reply_message"</td></tr> +<tr class="separator:a79b0f0b481161527ccb80e83da143219"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a501f5bca8425de3171d46e0723f466ec"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a> = <a class="el" href="../../d2/d8e/class_h_s___client_manager.html#ad86c1fea7d107d52cbf0466fb7a2658b">HS_ClientManager::instance</a>()</td></tr> +<tr class="separator:a501f5bca8425de3171d46e0723f466ec"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a01e06b6317acebc1d5686386b15f0872"><td class="memItemLeft" align="right" valign="top">static const afb_verb_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a01e06b6317acebc1d5686386b15f0872">verbs</a> []</td></tr> +<tr class="separator:a01e06b6317acebc1d5686386b15f0872"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a970e7864dba290a0371534ad4961bcc5"><td class="memItemLeft" align="right" valign="top">const afb_binding_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a970e7864dba290a0371534ad4961bcc5">afbBindingExport</a></td></tr> +<tr class="separator:a970e7864dba290a0371534ad4961bcc5"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a class="anchor" id="a369266c24eacffb87046522897a570d5"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define _GNU_SOURCE</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00018">18</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> + +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="a057c380ea38cfba4e2fbccc40fc21798"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void hideWindow </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>hideWindow event</p> +<h4>Parameters</h4> +<ul> +<li>request : the request</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00221">221</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a6195694d281a3b97b0345b96c0add1fd">hideWindow</a>(request);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [hideWindow]"</span>);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> }</div><div class="ttc" id="class_h_s___client_manager_html_a6195694d281a3b97b0345b96c0add1fd"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a6195694d281a3b97b0345b96c0add1fd">HS_ClientManager::hideWindow</a></div><div class="ttdeci">int hideWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00356">hs-clientmanager.cpp:356</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a5d7de3437d5dcb79fa035959d95878db"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static int init </td> + <td>(</td> + <td class="paramtype">afb_api_t </td> + <td class="paramname"><em>api</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>homescreen binding init function</p> +<h4>Parameters</h4> +<ul> +<li>api : the api serving the request</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00368">368</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00369"></a><span class="lineno"> 369</span> {</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"binding init"</span>);</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span> </div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#ae0b9b18adeffca7822b060ad4ea8a7a1">init</a>();</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span> </div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> }</div><div class="ttc" id="class_h_s___client_manager_html_ae0b9b18adeffca7822b060ad4ea8a7a1"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#ae0b9b18adeffca7822b060ad4ea8a7a1">HS_ClientManager::init</a></div><div class="ttdeci">int init(void)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00071">hs-clientmanager.cpp:71</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a0df2b60ff6cd56b53dc87b36bfee2b91"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void on_screen_message </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>HomeScreen OnScreen message</p> +<h4>Parameters</h4> +<p>Request key</p><ul> +<li>display_message : message for display</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00085">85</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a58ce4a013d3694265dd69f481bf88510">on_screen_message</a>(request);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [on_screen_message]"</span>);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a58ce4a013d3694265dd69f481bf88510"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a58ce4a013d3694265dd69f481bf88510">HS_ClientManager::on_screen_message</a></div><div class="ttdeci">int on_screen_message(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00195">hs-clientmanager.cpp:195</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a7443596f6ddf459824ecd8138c681532"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void on_screen_reply </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>HomeScreen OnScreen Reply</p> +<h4>Parameters</h4> +<p>Request key</p><ul> +<li>reply_message : message for reply</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00113">113</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> {</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#aa78f992287e3b8fe93422b331dc9edc5">on_screen_reply</a>(request);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [on_screen_reply]"</span>);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> }</div><div class="ttc" id="class_h_s___client_manager_html_aa78f992287e3b8fe93422b331dc9edc5"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#aa78f992287e3b8fe93422b331dc9edc5">HS_ClientManager::on_screen_reply</a></div><div class="ttdeci">int on_screen_reply(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00223">hs-clientmanager.cpp:223</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a60665935681c76d38b3833912109cdd3"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void onevent </td> + <td>(</td> + <td class="paramtype">afb_api_t </td> + <td class="paramname"><em>api</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>event</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">struct json_object * </td> + <td class="paramname"><em>object</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>homescreen binding event function</p> +<h4>Parameters</h4> +<ul> +<li>api : the api serving the request</li> +<li>event : event name</li> +<li>object : event json object</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00389">389</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00390"></a><span class="lineno"> 390</span> {</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"on_event %s"</span>, event);</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="ace65cfe6008848a3cd66581f536cc4c9"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void pingSample </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00038">38</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> pingcount = 0;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  afb_req_success_f(request, json_object_new_int(pingcount), <span class="stringliteral">"Ping count = %d"</span>, pingcount);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"Verbosity macro at level notice invoked at ping invocation count = %d"</span>, pingcount);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  pingcount++;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="ab3b1914acb53dcc038c1cf86c2975785"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static int preinit </td> + <td>(</td> + <td class="paramtype">afb_api_t </td> + <td class="paramname"><em>api</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>homescreen binding preinit function</p> +<h4>Parameters</h4> +<ul> +<li>api : the api serving the request</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00352">352</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00353"></a><span class="lineno"> 353</span> {</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"binding preinit (was register)"</span>);</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a710bcc84a61e11dbd4517def2764ff95"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void replyShowWindow </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>replyShowWindow event</p> +<h4>Parameters</h4> +<ul> +<li>request : the request</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00248">248</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a59b1c1e115b5a257a585c41f854f5fdd">replyShowWindow</a>(request);</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  }</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [replyShowWindow]"</span>);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a59b1c1e115b5a257a585c41f854f5fdd"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a59b1c1e115b5a257a585c41f854f5fdd">HS_ClientManager::replyShowWindow</a></div><div class="ttdeci">int replyShowWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00386">hs-clientmanager.cpp:386</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a916c8dd31373222ee2b6ef89aca91978"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void showInformation </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>showInformation event</p> +<p>the contents to homescreen which display at bottom area.</p> +<h4>Parameters</h4> +<ul> +<li>request : the request</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00306">306</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> {</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a0645294f89c67fd3c9b0cce62a900f69">showInformation</a>(request);</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="comment">// response to Application</span></div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [showInformation]"</span>);</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a0645294f89c67fd3c9b0cce62a900f69"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a0645294f89c67fd3c9b0cce62a900f69">HS_ClientManager::showInformation</a></div><div class="ttdeci">int showInformation(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00443">hs-clientmanager.cpp:443</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="ad96a84455e8676abb4486e48ef67b1ad"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void showNotification </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>showNotification event</p> +<p>the contents to homescreen which display at top area.</p> +<h4>Parameters</h4> +<ul> +<li>request : the request</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00277">277</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> {</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a857934af280081ca6ac61d9f2cac37c5">showNotification</a>(request);</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="comment">// response to Application</span></div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [showNotification]"</span>);</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a857934af280081ca6ac61d9f2cac37c5"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a857934af280081ca6ac61d9f2cac37c5">HS_ClientManager::showNotification</a></div><div class="ttdeci">int showNotification(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00416">hs-clientmanager.cpp:416</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="ae475c69e7ca2a539ae0fb40a82963ac1"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void showWindow </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>showWindow event</p> +<h4>Parameters</h4> +<ul> +<li>request : the request</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00194">194</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> {</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#afed8158f276d1d22c32b0d89e970d442">showWindow</a>(request);</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  }</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [showWindow]"</span>);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_afed8158f276d1d22c32b0d89e970d442"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#afed8158f276d1d22c32b0d89e970d442">HS_ClientManager::showWindow</a></div><div class="ttdeci">int showWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00326">hs-clientmanager.cpp:326</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a6e942ab2b7207d2aef9adce71a4574e8"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void subscribe </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>Subscribe event</p> +<h4>Parameters</h4> +<ul> +<li>event : Event name. Event list is written in <a class="el" href="../../d0/d8a/libhomescreen_8cpp.html">libhomescreen.cpp</a></li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00140">140</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a1b8a4e42342c4bcdc4e7dc4934e02469">subscribe</a>(request);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">if</span>(ret) {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  afb_req_fail_f(request, <span class="stringliteral">"afb_req_subscribe failed"</span>, <span class="stringliteral">"called %s."</span>, __FUNCTION__);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="comment">/*create response json object*/</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  afb_req_success_f(request, res, <span class="stringliteral">"homescreen binder subscribe."</span>);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> }</div><div class="ttc" id="class_h_s___client_manager_html_a1b8a4e42342c4bcdc4e7dc4934e02469"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a1b8a4e42342c4bcdc4e7dc4934e02469">HS_ClientManager::subscribe</a></div><div class="ttdeci">int subscribe(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00251">hs-clientmanager.cpp:251</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="ab8abb667377924d5c073611738febbd3"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void tap_shortcut </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>tap_shortcut notify for homescreen When Shortcut area is tapped, notify these applciations</p> +<h4>Parameters</h4> +<p>Request key</p><ul> +<li>application_id : application id</li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00058">58</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a9910fc27c412530b5b9854b00bd16c07">tap_shortcut</a>(request);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [tap_shortcut]"</span>);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div><div class="ttc" id="class_h_s___client_manager_html_a9910fc27c412530b5b9854b00bd16c07"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a9910fc27c412530b5b9854b00bd16c07">HS_ClientManager::tap_shortcut</a></div><div class="ttdeci">int tap_shortcut(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00166">hs-clientmanager.cpp:166</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a class="anchor" id="a3b162ab1856a8fa4284cb2c5c35ea748"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void unsubscribe </td> + <td>(</td> + <td class="paramtype">afb_req_t </td> + <td class="paramname"><em>request</em></td><td>)</td> + <td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>Unsubscribe event</p> +<h4>Parameters</h4> +<ul> +<li>event : Event name. Event list is written in <a class="el" href="../../d0/d8a/libhomescreen_8cpp.html">libhomescreen.cpp</a></li> +</ul> +<h4>Return</h4> +<p>None </p> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00167">167</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#ac86314afbb90116e2f02ce071166226e">unsubscribe</a>(request);</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">if</span>(ret) {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  afb_req_fail_f(request, <span class="stringliteral">"afb_req_unsubscribe failed"</span>, <span class="stringliteral">"called %s."</span>, __FUNCTION__);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="comment">/*create response json object*/</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  afb_req_success_f(request, res, <span class="stringliteral">"homescreen binder unsubscribe success."</span>);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> }</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_ac86314afbb90116e2f02ce071166226e"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#ac86314afbb90116e2f02ce071166226e">HS_ClientManager::unsubscribe</a></div><div class="ttdeci">int unsubscribe(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00292">hs-clientmanager.cpp:292</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +</div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Variable Documentation</h2> +<a class="anchor" id="a6a0e1db2562b442f8131ddf64b61d1ba"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const char _application_id[] = "application_id"</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00028">28</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="abfd6c1d6f316fa952b11553f8f275e92"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const char _display_message[] = "display_message"</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00029">29</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="aed1c5296a2e6d34945507a0fca17a376"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const char _error[] = "error"</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00027">27</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a79b0f0b481161527ccb80e83da143219"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const char _reply_message[] = "reply_message"</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00030">30</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a970e7864dba290a0371534ad4961bcc5"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const afb_binding_t afbBindingExport</td> + </tr> + </table> +</div><div class="memdoc"> +<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> .api = <span class="stringliteral">"homescreen"</span>,</div><div class="line"> .specification = NULL,</div><div class="line"> .info = NULL,</div><div class="line"> .verbs = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a01e06b6317acebc1d5686386b15f0872">verbs</a>,</div><div class="line"> .preinit = <a class="code" href="../../d6/dda/homescreen_8cpp.html#ab3b1914acb53dcc038c1cf86c2975785">preinit</a>,</div><div class="line"> .init = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a5d7de3437d5dcb79fa035959d95878db">init</a>,</div><div class="line"> .onevent = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a60665935681c76d38b3833912109cdd3">onevent</a></div><div class="line">}</div><div class="ttc" id="homescreen_8cpp_html_a01e06b6317acebc1d5686386b15f0872"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a01e06b6317acebc1d5686386b15f0872">verbs</a></div><div class="ttdeci">static const afb_verb_t verbs[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00326">homescreen.cpp:326</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a60665935681c76d38b3833912109cdd3"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a60665935681c76d38b3833912109cdd3">onevent</a></div><div class="ttdeci">static void onevent(afb_api_t api, const char *event, struct json_object *object)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00389">homescreen.cpp:389</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ab3b1914acb53dcc038c1cf86c2975785"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ab3b1914acb53dcc038c1cf86c2975785">preinit</a></div><div class="ttdeci">static int preinit(afb_api_t api)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00352">homescreen.cpp:352</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a5d7de3437d5dcb79fa035959d95878db"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a5d7de3437d5dcb79fa035959d95878db">init</a></div><div class="ttdeci">static int init(afb_api_t api)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00368">homescreen.cpp:368</a></div></div> +</div><!-- fragment --> +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00394">394</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a501f5bca8425de3171d46e0723f466ec"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a>* g_client_manager = <a class="el" href="../../d2/d8e/class_h_s___client_manager.html#ad86c1fea7d107d52cbf0466fb7a2658b">HS_ClientManager::instance</a>()</td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00032">32</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a01e06b6317acebc1d5686386b15f0872"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">const afb_verb_t verbs[]</td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line"> </div><div class="line"> { .verb=<span class="stringliteral">"ping"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ace65cfe6008848a3cd66581f536cc4c9">pingSample</a> },</div><div class="line"> { .verb=<span class="stringliteral">"tap_shortcut"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ab8abb667377924d5c073611738febbd3">tap_shortcut</a> },</div><div class="line"> { .verb=<span class="stringliteral">"showWindow"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ae475c69e7ca2a539ae0fb40a82963ac1">showWindow</a> },</div><div class="line"> { .verb=<span class="stringliteral">"hideWindow"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a057c380ea38cfba4e2fbccc40fc21798">hideWindow</a> },</div><div class="line"> { .verb=<span class="stringliteral">"replyShowWindow"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a710bcc84a61e11dbd4517def2764ff95">replyShowWindow</a> },</div><div class="line"> { .verb=<span class="stringliteral">"on_screen_message"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a0df2b60ff6cd56b53dc87b36bfee2b91">on_screen_message</a> },</div><div class="line"> { .verb=<span class="stringliteral">"on_screen_reply"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a7443596f6ddf459824ecd8138c681532">on_screen_reply</a> },</div><div class="line"> { .verb=<span class="stringliteral">"subscribe"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a6e942ab2b7207d2aef9adce71a4574e8">subscribe</a> },</div><div class="line"> { .verb=<span class="stringliteral">"unsubscribe"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a3b162ab1856a8fa4284cb2c5c35ea748">unsubscribe</a> },</div><div class="line"> { .verb=<span class="stringliteral">"showNotification"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ad96a84455e8676abb4486e48ef67b1ad">showNotification</a> },</div><div class="line"> { .verb=<span class="stringliteral">"showInformation"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a916c8dd31373222ee2b6ef89aca91978">showInformation</a> },</div><div class="line"> {NULL } </div><div class="line">}</div><div class="ttc" id="homescreen_8cpp_html_ae475c69e7ca2a539ae0fb40a82963ac1"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ae475c69e7ca2a539ae0fb40a82963ac1">showWindow</a></div><div class="ttdeci">static void showWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00194">homescreen.cpp:194</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a7443596f6ddf459824ecd8138c681532"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a7443596f6ddf459824ecd8138c681532">on_screen_reply</a></div><div class="ttdeci">static void on_screen_reply(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00113">homescreen.cpp:113</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a0df2b60ff6cd56b53dc87b36bfee2b91"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a0df2b60ff6cd56b53dc87b36bfee2b91">on_screen_message</a></div><div class="ttdeci">static void on_screen_message(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00085">homescreen.cpp:85</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a6e942ab2b7207d2aef9adce71a4574e8"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a6e942ab2b7207d2aef9adce71a4574e8">subscribe</a></div><div class="ttdeci">static void subscribe(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00140">homescreen.cpp:140</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a3b162ab1856a8fa4284cb2c5c35ea748"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a3b162ab1856a8fa4284cb2c5c35ea748">unsubscribe</a></div><div class="ttdeci">static void unsubscribe(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00167">homescreen.cpp:167</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a916c8dd31373222ee2b6ef89aca91978"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a916c8dd31373222ee2b6ef89aca91978">showInformation</a></div><div class="ttdeci">static void showInformation(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00306">homescreen.cpp:306</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ace65cfe6008848a3cd66581f536cc4c9"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ace65cfe6008848a3cd66581f536cc4c9">pingSample</a></div><div class="ttdeci">static void pingSample(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00038">homescreen.cpp:38</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a057c380ea38cfba4e2fbccc40fc21798"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a057c380ea38cfba4e2fbccc40fc21798">hideWindow</a></div><div class="ttdeci">static void hideWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00221">homescreen.cpp:221</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a710bcc84a61e11dbd4517def2764ff95"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a710bcc84a61e11dbd4517def2764ff95">replyShowWindow</a></div><div class="ttdeci">static void replyShowWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00248">homescreen.cpp:248</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ad96a84455e8676abb4486e48ef67b1ad"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ad96a84455e8676abb4486e48ef67b1ad">showNotification</a></div><div class="ttdeci">static void showNotification(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00277">homescreen.cpp:277</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ab8abb667377924d5c073611738febbd3"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ab8abb667377924d5c073611738febbd3">tap_shortcut</a></div><div class="ttdeci">static void tap_shortcut(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00058">homescreen.cpp:58</a></div></div> +</div><!-- fragment --> +<p>Definition at line <a class="el" href="../../d6/dda/homescreen_8cpp_source.html#l00326">326</a> of file <a class="el" href="../../d6/dda/homescreen_8cpp_source.html">homescreen.cpp</a>.</p> + +</div> +</div> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="../../doxygen.png" alt="doxygen"/> +</a> 1.8.11 +</small></address> +</body> +</html> diff --git a/doc/api-ref/html/d6/dda/homescreen_8cpp_source.html b/doc/api-ref/html/d6/dda/homescreen_8cpp_source.html new file mode 100644 index 0000000..31aadbc --- /dev/null +++ b/doc/api-ref/html/d6/dda/homescreen_8cpp_source.html @@ -0,0 +1,138 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.11"/> +<title>HomeScreenBinding: src/homescreen.cpp Source File</title> +<link href="../../tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../jquery.js"></script> +<script type="text/javascript" src="../../dynsections.js"></script> +<link href="../../search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../search/searchdata.js"></script> +<script type="text/javascript" src="../../search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { init_search(); }); +</script> +<link href="../../doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">HomeScreenBinding + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.11 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="../../index.html"><span>Main Page</span></a></li> + <li><a href="../../annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="../../files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="../../search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="../../files.html"><span>File List</span></a></li> + <li><a href="../../globals.html"><span>File Members</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">homescreen.cpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="../../d6/dda/homescreen_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2017 TOYOTA MOTOR CORPORATION</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * You may obtain a copy of the License at</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * limitations under the License.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> */</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef _GNU_SOURCE</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a369266c24eacffb87046522897a570d5"> 18</a></span> <span class="preprocessor">#define _GNU_SOURCE</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <algorithm></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="../../d3/d3d/hs-helper_8h.html">hs-helper.h</a>"</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="../../d6/dff/src_2hmi-debug_8h.html">hmi-debug.h</a>"</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="../../de/dca/hs-clientmanager_8h.html">hs-clientmanager.h</a>"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../d3/d3d/hs-helper_8h.html#aed1c5296a2e6d34945507a0fca17a376"> 27</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>[] = <span class="stringliteral">"error"</span>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="../../d3/d3d/hs-helper_8h.html#a6a0e1db2562b442f8131ddf64b61d1ba"> 28</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a>[] = <span class="stringliteral">"application_id"</span>;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="../../d3/d3d/hs-helper_8h.html#abfd6c1d6f316fa952b11553f8f275e92"> 29</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#abfd6c1d6f316fa952b11553f8f275e92">_display_message</a>[] = <span class="stringliteral">"display_message"</span>;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../d3/d3d/hs-helper_8h.html#a79b0f0b481161527ccb80e83da143219"> 30</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a79b0f0b481161527ccb80e83da143219">_reply_message</a>[] = <span class="stringliteral">"reply_message"</span>;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec"> 32</a></span> <span class="keyword">static</span> <a class="code" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a>* <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a> = <a class="code" href="../../d2/d8e/class_h_s___client_manager.html#ad86c1fea7d107d52cbf0466fb7a2658b">HS_ClientManager::instance</a>();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">/*</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">********** Method of HomeScreen Service (API) **********</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">*/</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#ace65cfe6008848a3cd66581f536cc4c9"> 38</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#ace65cfe6008848a3cd66581f536cc4c9">pingSample</a>(afb_req_t request)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> pingcount = 0;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  afb_req_success_f(request, json_object_new_int(pingcount), <span class="stringliteral">"Ping count = %d"</span>, pingcount);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"Verbosity macro at level notice invoked at ping invocation count = %d"</span>, pingcount);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  pingcount++;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#ab8abb667377924d5c073611738febbd3"> 58</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#ab8abb667377924d5c073611738febbd3">tap_shortcut</a> (afb_req_t request)</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a9910fc27c412530b5b9854b00bd16c07">tap_shortcut</a>(request);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [tap_shortcut]"</span>);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a0df2b60ff6cd56b53dc87b36bfee2b91"> 85</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a0df2b60ff6cd56b53dc87b36bfee2b91">on_screen_message</a> (afb_req_t request)</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a58ce4a013d3694265dd69f481bf88510">on_screen_message</a>(request);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [on_screen_message]"</span>);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> }</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a7443596f6ddf459824ecd8138c681532"> 113</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a7443596f6ddf459824ecd8138c681532">on_screen_reply</a> (afb_req_t request)</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> {</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#aa78f992287e3b8fe93422b331dc9edc5">on_screen_reply</a>(request);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [on_screen_reply]"</span>);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> }</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a6e942ab2b7207d2aef9adce71a4574e8"> 140</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a6e942ab2b7207d2aef9adce71a4574e8">subscribe</a>(afb_req_t request)</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a1b8a4e42342c4bcdc4e7dc4934e02469">subscribe</a>(request);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">if</span>(ret) {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  afb_req_fail_f(request, <span class="stringliteral">"afb_req_subscribe failed"</span>, <span class="stringliteral">"called %s."</span>, __FUNCTION__);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="comment">/*create response json object*/</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  afb_req_success_f(request, res, <span class="stringliteral">"homescreen binder subscribe."</span>);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> }</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a3b162ab1856a8fa4284cb2c5c35ea748"> 167</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a3b162ab1856a8fa4284cb2c5c35ea748">unsubscribe</a>(afb_req_t request)</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#ac86314afbb90116e2f02ce071166226e">unsubscribe</a>(request);</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">if</span>(ret) {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  afb_req_fail_f(request, <span class="stringliteral">"afb_req_unsubscribe failed"</span>, <span class="stringliteral">"called %s."</span>, __FUNCTION__);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="comment">/*create response json object*/</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  afb_req_success_f(request, res, <span class="stringliteral">"homescreen binder unsubscribe success."</span>);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> }</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#ae475c69e7ca2a539ae0fb40a82963ac1"> 194</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#ae475c69e7ca2a539ae0fb40a82963ac1">showWindow</a>(afb_req_t request)</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> {</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#afed8158f276d1d22c32b0d89e970d442">showWindow</a>(request);</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  }</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [showWindow]"</span>);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> }</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a057c380ea38cfba4e2fbccc40fc21798"> 221</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a057c380ea38cfba4e2fbccc40fc21798">hideWindow</a>(afb_req_t request)</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a6195694d281a3b97b0345b96c0add1fd">hideWindow</a>(request);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [hideWindow]"</span>);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> }</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a710bcc84a61e11dbd4517def2764ff95"> 248</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a710bcc84a61e11dbd4517def2764ff95">replyShowWindow</a>(afb_req_t request)</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a59b1c1e115b5a257a585c41f854f5fdd">replyShowWindow</a>(request);</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  }</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [replyShowWindow]"</span>);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#ad96a84455e8676abb4486e48ef67b1ad"> 277</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#ad96a84455e8676abb4486e48ef67b1ad">showNotification</a>(afb_req_t request)</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> {</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a857934af280081ca6ac61d9f2cac37c5">showNotification</a>(request);</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="comment">// response to Application</span></div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [showNotification]"</span>);</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> }</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div><div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a916c8dd31373222ee2b6ef89aca91978"> 306</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a916c8dd31373222ee2b6ef89aca91978">showInformation</a>(afb_req_t request)</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> {</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"called."</span>);</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordtype">int</span> ret = g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#a0645294f89c67fd3c9b0cce62a900f69">showInformation</a>(request);</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  afb_req_fail_f(request, <span class="stringliteral">"failed"</span>, <span class="stringliteral">"called %s, Unknown parameter"</span>, __FUNCTION__);</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="comment">// response to Application</span></div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keyword">struct </span>json_object *res = json_object_new_object();</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a>(res, __FUNCTION__, 2,</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <a class="code" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a>, ret);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  afb_req_success(request, res, <span class="stringliteral">"afb_event_push event [showInformation]"</span>);</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> }</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> </div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="comment">/*</span></div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="comment"> * array of the verbs exported to afb-daemon</span></div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="comment"> */</span></div><div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a01e06b6317acebc1d5686386b15f0872"> 326</a></span> <span class="keyword">static</span> <span class="keyword">const</span> afb_verb_t <a class="code" href="../../d6/dda/homescreen_8cpp.html#a01e06b6317acebc1d5686386b15f0872">verbs</a>[]= {</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="comment">/* VERB'S NAME FUNCTION TO CALL */</span></div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  { .verb=<span class="stringliteral">"ping"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ace65cfe6008848a3cd66581f536cc4c9">pingSample</a> },</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  { .verb=<span class="stringliteral">"tap_shortcut"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ab8abb667377924d5c073611738febbd3">tap_shortcut</a> },</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  { .verb=<span class="stringliteral">"showWindow"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ae475c69e7ca2a539ae0fb40a82963ac1">showWindow</a> },</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  { .verb=<span class="stringliteral">"hideWindow"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a057c380ea38cfba4e2fbccc40fc21798">hideWindow</a> },</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  { .verb=<span class="stringliteral">"replyShowWindow"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a710bcc84a61e11dbd4517def2764ff95">replyShowWindow</a> },</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  { .verb=<span class="stringliteral">"on_screen_message"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a0df2b60ff6cd56b53dc87b36bfee2b91">on_screen_message</a> },</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  { .verb=<span class="stringliteral">"on_screen_reply"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a7443596f6ddf459824ecd8138c681532">on_screen_reply</a> },</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  { .verb=<span class="stringliteral">"subscribe"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a6e942ab2b7207d2aef9adce71a4574e8">subscribe</a> },</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  { .verb=<span class="stringliteral">"unsubscribe"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a3b162ab1856a8fa4284cb2c5c35ea748">unsubscribe</a> },</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  { .verb=<span class="stringliteral">"showNotification"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ad96a84455e8676abb4486e48ef67b1ad">showNotification</a> },</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  { .verb=<span class="stringliteral">"showInformation"</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a916c8dd31373222ee2b6ef89aca91978">showInformation</a> },</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  {NULL } <span class="comment">/* marker for end of the array */</span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> };</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> </div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#ab3b1914acb53dcc038c1cf86c2975785"> 352</a></span> <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#ab3b1914acb53dcc038c1cf86c2975785">preinit</a>(afb_api_t api)</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span> {</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"binding preinit (was register)"</span>);</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span> }</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div><div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a5d7de3437d5dcb79fa035959d95878db"> 368</a></span> <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a5d7de3437d5dcb79fa035959d95878db">init</a>(afb_api_t api)</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span> {</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"binding init"</span>);</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span> </div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  g_client_manager-><a class="code" href="../../d2/d8e/class_h_s___client_manager.html#ae0b9b18adeffca7822b060ad4ea8a7a1">init</a>();</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span> </div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> }</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div><div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a60665935681c76d38b3833912109cdd3"> 389</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dda/homescreen_8cpp.html#a60665935681c76d38b3833912109cdd3">onevent</a>(afb_api_t api, <span class="keyword">const</span> <span class="keywordtype">char</span> *event, <span class="keyword">struct</span> json_object *<span class="keywordtype">object</span>)</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span> {</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">"homescreen-service"</span>,<span class="stringliteral">"on_event %s"</span>, event);</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> }</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="../../d6/dda/homescreen_8cpp.html#a970e7864dba290a0371534ad4961bcc5"> 394</a></span> <span class="keyword">const</span> afb_binding_t <a class="code" href="../../d6/dda/homescreen_8cpp.html#a970e7864dba290a0371534ad4961bcc5">afbBindingExport</a> = {</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  .api = <span class="stringliteral">"homescreen"</span>,</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  .specification = NULL,</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  .info = NULL,</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  .verbs = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a01e06b6317acebc1d5686386b15f0872">verbs</a>,</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  .preinit = <a class="code" href="../../d6/dda/homescreen_8cpp.html#ab3b1914acb53dcc038c1cf86c2975785">preinit</a>,</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  .init = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a5d7de3437d5dcb79fa035959d95878db">init</a>,</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  .onevent = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a60665935681c76d38b3833912109cdd3">onevent</a></div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span> };</div><div class="ttc" id="class_h_s___client_manager_html_ae0b9b18adeffca7822b060ad4ea8a7a1"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#ae0b9b18adeffca7822b060ad4ea8a7a1">HS_ClientManager::init</a></div><div class="ttdeci">int init(void)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00071">hs-clientmanager.cpp:71</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a6195694d281a3b97b0345b96c0add1fd"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a6195694d281a3b97b0345b96c0add1fd">HS_ClientManager::hideWindow</a></div><div class="ttdeci">int hideWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00356">hs-clientmanager.cpp:356</a></div></div> +<div class="ttc" id="hs-clientmanager_8h_html"><div class="ttname"><a href="../../de/dca/hs-clientmanager_8h.html">hs-clientmanager.h</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ae475c69e7ca2a539ae0fb40a82963ac1"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ae475c69e7ca2a539ae0fb40a82963ac1">showWindow</a></div><div class="ttdeci">static void showWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00194">homescreen.cpp:194</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a7443596f6ddf459824ecd8138c681532"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a7443596f6ddf459824ecd8138c681532">on_screen_reply</a></div><div class="ttdeci">static void on_screen_reply(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00113">homescreen.cpp:113</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a1b8a4e42342c4bcdc4e7dc4934e02469"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a1b8a4e42342c4bcdc4e7dc4934e02469">HS_ClientManager::subscribe</a></div><div class="ttdeci">int subscribe(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00251">hs-clientmanager.cpp:251</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a9910fc27c412530b5b9854b00bd16c07"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a9910fc27c412530b5b9854b00bd16c07">HS_ClientManager::tap_shortcut</a></div><div class="ttdeci">int tap_shortcut(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00166">hs-clientmanager.cpp:166</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a0df2b60ff6cd56b53dc87b36bfee2b91"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a0df2b60ff6cd56b53dc87b36bfee2b91">on_screen_message</a></div><div class="ttdeci">static void on_screen_message(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00085">homescreen.cpp:85</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a970e7864dba290a0371534ad4961bcc5"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a970e7864dba290a0371534ad4961bcc5">afbBindingExport</a></div><div class="ttdeci">const afb_binding_t afbBindingExport</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00394">homescreen.cpp:394</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a6e942ab2b7207d2aef9adce71a4574e8"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a6e942ab2b7207d2aef9adce71a4574e8">subscribe</a></div><div class="ttdeci">static void subscribe(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00140">homescreen.cpp:140</a></div></div> +<div class="ttc" id="hs-helper_8h_html"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html">hs-helper.h</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a79b0f0b481161527ccb80e83da143219"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a79b0f0b481161527ccb80e83da143219">_reply_message</a></div><div class="ttdeci">const char _reply_message[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00030">homescreen.cpp:30</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a3b162ab1856a8fa4284cb2c5c35ea748"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a3b162ab1856a8fa4284cb2c5c35ea748">unsubscribe</a></div><div class="ttdeci">static void unsubscribe(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00167">homescreen.cpp:167</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_aa78f992287e3b8fe93422b331dc9edc5"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#aa78f992287e3b8fe93422b331dc9edc5">HS_ClientManager::on_screen_reply</a></div><div class="ttdeci">int on_screen_reply(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00223">hs-clientmanager.cpp:223</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a01e06b6317acebc1d5686386b15f0872"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a01e06b6317acebc1d5686386b15f0872">verbs</a></div><div class="ttdeci">static const afb_verb_t verbs[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00326">homescreen.cpp:326</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_afed8158f276d1d22c32b0d89e970d442"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#afed8158f276d1d22c32b0d89e970d442">HS_ClientManager::showWindow</a></div><div class="ttdeci">int showWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00326">hs-clientmanager.cpp:326</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a916c8dd31373222ee2b6ef89aca91978"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a916c8dd31373222ee2b6ef89aca91978">showInformation</a></div><div class="ttdeci">static void showInformation(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00306">homescreen.cpp:306</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ace65cfe6008848a3cd66581f536cc4c9"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ace65cfe6008848a3cd66581f536cc4c9">pingSample</a></div><div class="ttdeci">static void pingSample(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00038">homescreen.cpp:38</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a60665935681c76d38b3833912109cdd3"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a60665935681c76d38b3833912109cdd3">onevent</a></div><div class="ttdeci">static void onevent(afb_api_t api, const char *event, struct json_object *object)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00389">homescreen.cpp:389</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_ac86314afbb90116e2f02ce071166226e"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#ac86314afbb90116e2f02ce071166226e">HS_ClientManager::unsubscribe</a></div><div class="ttdeci">int unsubscribe(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00292">hs-clientmanager.cpp:292</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_aed1c5296a2e6d34945507a0fca17a376"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a></div><div class="ttdeci">const char _error[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00027">homescreen.cpp:27</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a59b1c1e115b5a257a585c41f854f5fdd"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a59b1c1e115b5a257a585c41f854f5fdd">HS_ClientManager::replyShowWindow</a></div><div class="ttdeci">int replyShowWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00386">hs-clientmanager.cpp:386</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a></div><div class="ttdef"><b>Definition:</b> <a href="../../de/dca/hs-clientmanager_8h_source.html#l00037">hs-clientmanager.h:37</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a057c380ea38cfba4e2fbccc40fc21798"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a057c380ea38cfba4e2fbccc40fc21798">hideWindow</a></div><div class="ttdeci">static void hideWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00221">homescreen.cpp:221</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a501f5bca8425de3171d46e0723f466ec"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a></div><div class="ttdeci">static HS_ClientManager * g_client_manager</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00032">homescreen.cpp:32</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_abfd6c1d6f316fa952b11553f8f275e92"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#abfd6c1d6f316fa952b11553f8f275e92">_display_message</a></div><div class="ttdeci">const char _display_message[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00029">homescreen.cpp:29</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_ad86c1fea7d107d52cbf0466fb7a2658b"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#ad86c1fea7d107d52cbf0466fb7a2658b">HS_ClientManager::instance</a></div><div class="ttdeci">static HS_ClientManager * instance(void)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00053">hs-clientmanager.cpp:53</a></div></div> +<div class="ttc" id="src_2hmi-debug_8h_html"><div class="ttname"><a href="../../d6/dff/src_2hmi-debug_8h.html">hmi-debug.h</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a0645294f89c67fd3c9b0cce62a900f69"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a0645294f89c67fd3c9b0cce62a900f69">HS_ClientManager::showInformation</a></div><div class="ttdeci">int showInformation(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00443">hs-clientmanager.cpp:443</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a710bcc84a61e11dbd4517def2764ff95"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a710bcc84a61e11dbd4517def2764ff95">replyShowWindow</a></div><div class="ttdeci">static void replyShowWindow(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00248">homescreen.cpp:248</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ad96a84455e8676abb4486e48ef67b1ad"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ad96a84455e8676abb4486e48ef67b1ad">showNotification</a></div><div class="ttdeci">static void showNotification(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00277">homescreen.cpp:277</a></div></div> +<div class="ttc" id="hs-helper_8cpp_html_ae83604a37134e7bdee3ce4f10bb0b47a"><div class="ttname"><a href="../../df/d66/hs-helper_8cpp.html#ae83604a37134e7bdee3ce4f10bb0b47a">hs_add_object_to_json_object_func</a></div><div class="ttdeci">void hs_add_object_to_json_object_func(struct json_object *j_obj, const char *verb_name, int count,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d66/hs-helper_8cpp_source.html#l00207">hs-helper.cpp:207</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ab3b1914acb53dcc038c1cf86c2975785"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ab3b1914acb53dcc038c1cf86c2975785">preinit</a></div><div class="ttdeci">static int preinit(afb_api_t api)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00352">homescreen.cpp:352</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a58ce4a013d3694265dd69f481bf88510"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a58ce4a013d3694265dd69f481bf88510">HS_ClientManager::on_screen_message</a></div><div class="ttdeci">int on_screen_message(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00195">hs-clientmanager.cpp:195</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a6a0e1db2562b442f8131ddf64b61d1ba"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a></div><div class="ttdeci">const char _application_id[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00028">homescreen.cpp:28</a></div></div> +<div class="ttc" id="class_h_s___client_manager_html_a857934af280081ca6ac61d9f2cac37c5"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#a857934af280081ca6ac61d9f2cac37c5">HS_ClientManager::showNotification</a></div><div class="ttdeci">int showNotification(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00416">hs-clientmanager.cpp:416</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_ab8abb667377924d5c073611738febbd3"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#ab8abb667377924d5c073611738febbd3">tap_shortcut</a></div><div class="ttdeci">static void tap_shortcut(afb_req_t request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00058">homescreen.cpp:58</a></div></div> +<div class="ttc" id="homescreen_8cpp_html_a5d7de3437d5dcb79fa035959d95878db"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a5d7de3437d5dcb79fa035959d95878db">init</a></div><div class="ttdeci">static int init(afb_api_t api)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00368">homescreen.cpp:368</a></div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="../../doxygen.png" alt="doxygen"/> +</a> 1.8.11 +</small></address> +</body> +</html> diff --git a/doc/api-ref/html/d6/de3/structwindow.html b/doc/api-ref/html/d6/de3/structwindow.html new file mode 100644 index 0000000..76f755f --- /dev/null +++ b/doc/api-ref/html/d6/de3/structwindow.html @@ -0,0 +1,381 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.11"/> +<title>HomeScreenBinding: window Struct Reference</title> +<link href="../../tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../jquery.js"></script> +<script type="text/javascript" src="../../dynsections.js"></script> +<link href="../../search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../search/searchdata.js"></script> +<script type="text/javascript" src="../../search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { init_search(); }); +</script> +<link href="../../doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">HomeScreenBinding + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.11 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="../../index.html"><span>Main Page</span></a></li> + <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li> + <li><a href="../../files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="../../search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="../../annotated.html"><span>Class List</span></a></li> + <li><a href="../../classes.html"><span>Class Index</span></a></li> + <li><a href="../../functions.html"><span>Class Members</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#pub-attribs">Public Attributes</a> | +<a href="../../df/d37/structwindow-members.html">List of all members</a> </div> + <div class="headertitle"> +<div class="title">window Struct Reference</div> </div> +</div><!--header--> +<div class="contents"> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> +Public Attributes</h2></td></tr> +<tr class="memitem:a129486f2bd23791194f389ca1405cfd4"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../d6/df5/structdisplay.html">display</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a129486f2bd23791194f389ca1405cfd4">display</a></td></tr> +<tr class="separator:a129486f2bd23791194f389ca1405cfd4"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad2b6c8ed8044b41fd1189a0ce26d539a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../dd/ddc/structgeometry.html">geometry</a> <a class="el" href="../../dd/ddc/structgeometry.html">geometry</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#ad2b6c8ed8044b41fd1189a0ce26d539a">window_size</a></td></tr> +<tr class="separator:ad2b6c8ed8044b41fd1189a0ce26d539a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6975a930e9a3c166f8201fc4ef5e7728"><td class="memItemLeft" >struct {</td></tr> +<tr class="memitem:aee0282da3d9b55f2bb1bbaabe883718b"><td class="memItemLeft" >   GLuint   <a class="el" href="../../d6/de3/structwindow.html#a5202f3b60e262a6fa4fcee68dd47cb67">rotation_uniform</a></td></tr> +<tr class="separator:aee0282da3d9b55f2bb1bbaabe883718b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa9b8688368dc4af015d49339323dfba2"><td class="memItemLeft" >   GLuint   <a class="el" href="../../d6/de3/structwindow.html#aaf965f90f9fc938db2315ff62028c362">pos</a></td></tr> +<tr class="separator:aa9b8688368dc4af015d49339323dfba2"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a84c5d7b937010866c7f9a0b75961b35f"><td class="memItemLeft" >   GLuint   <a class="el" href="../../d6/de3/structwindow.html#aef10fe94766ccd4831ee611c5ad0e55c">col</a></td></tr> +<tr class="separator:a84c5d7b937010866c7f9a0b75961b35f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6975a930e9a3c166f8201fc4ef5e7728"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a6975a930e9a3c166f8201fc4ef5e7728">gl</a></td></tr> +<tr class="separator:a6975a930e9a3c166f8201fc4ef5e7728"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a72629bf021a361ad900504732a74cb68"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a72629bf021a361ad900504732a74cb68">benchmark_time</a></td></tr> +<tr class="separator:a72629bf021a361ad900504732a74cb68"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a633864bb495ec265bee220a5c70cc98f"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a633864bb495ec265bee220a5c70cc98f">frames</a></td></tr> +<tr class="separator:a633864bb495ec265bee220a5c70cc98f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ae41be0955d0e73530e1bc13dfeb9d731"><td class="memItemLeft" align="right" valign="top">struct wl_egl_window * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#ae41be0955d0e73530e1bc13dfeb9d731">native</a></td></tr> +<tr class="separator:ae41be0955d0e73530e1bc13dfeb9d731"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7d0790cfc7c30621611fa26ab5c1ae97"><td class="memItemLeft" align="right" valign="top">struct wl_surface * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a7d0790cfc7c30621611fa26ab5c1ae97">surface</a></td></tr> +<tr class="separator:a7d0790cfc7c30621611fa26ab5c1ae97"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a40e2c6fb4178953c820fc1b9f41d4b31"><td class="memItemLeft" align="right" valign="top">struct ivi_surface * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a40e2c6fb4178953c820fc1b9f41d4b31">ivi_surface</a></td></tr> +<tr class="separator:a40e2c6fb4178953c820fc1b9f41d4b31"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8de0059f3f1cb0dec33fba1143b7dee1"><td class="memItemLeft" align="right" valign="top">EGLSurface </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a8de0059f3f1cb0dec33fba1143b7dee1">egl_surface</a></td></tr> +<tr class="separator:a8de0059f3f1cb0dec33fba1143b7dee1"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a35ba639556fa19d9273dad0953a6807e"><td class="memItemLeft" align="right" valign="top">struct wl_callback * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a35ba639556fa19d9273dad0953a6807e">callback</a></td></tr> +<tr class="separator:a35ba639556fa19d9273dad0953a6807e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8da44798a9e1feb7ed3fbd18ec3a28b6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a8da44798a9e1feb7ed3fbd18ec3a28b6">fullscreen</a></td></tr> +<tr class="separator:a8da44798a9e1feb7ed3fbd18ec3a28b6"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a026a50808d8323a5a73d585c19916fa8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a026a50808d8323a5a73d585c19916fa8">opaque</a></td></tr> +<tr class="separator:a026a50808d8323a5a73d585c19916fa8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0e634038f669aff472012f25ea250b40"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a0e634038f669aff472012f25ea250b40">buffer_size</a></td></tr> +<tr class="separator:a0e634038f669aff472012f25ea250b40"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a851bcb65083f5ab5ff768b09522bed70"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/de3/structwindow.html#a851bcb65083f5ab5ff768b09522bed70">frame_sync</a></td></tr> +<tr class="separator:a851bcb65083f5ab5ff768b09522bed70"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"> +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00136">136</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> +</div><h2 class="groupheader">Member Data Documentation</h2> +<a class="anchor" id="a72629bf021a361ad900504732a74cb68"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">uint32_t window::benchmark_time</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00145">145</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a0e634038f669aff472012f25ea250b40"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int window::buffer_size</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00151">151</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a35ba639556fa19d9273dad0953a6807e"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct wl_callback* window::callback</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00150">150</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="aef10fe94766ccd4831ee611c5ad0e55c"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">GLuint window::col</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00142">142</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a129486f2bd23791194f389ca1405cfd4"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct <a class="el" href="../../d6/df5/structdisplay.html">display</a>* window::display</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00137">137</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a8de0059f3f1cb0dec33fba1143b7dee1"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">EGLSurface window::egl_surface</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00149">149</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a851bcb65083f5ab5ff768b09522bed70"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int window::frame_sync</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00151">151</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a633864bb495ec265bee220a5c70cc98f"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">uint32_t window::frames</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00145">145</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a8da44798a9e1feb7ed3fbd18ec3a28b6"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int window::fullscreen</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00151">151</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a6975a930e9a3c166f8201fc4ef5e7728"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct { ... } window::gl</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a40e2c6fb4178953c820fc1b9f41d4b31"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct ivi_surface* window::ivi_surface</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00148">148</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="ae41be0955d0e73530e1bc13dfeb9d731"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct wl_egl_window* window::native</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00146">146</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a026a50808d8323a5a73d585c19916fa8"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int window::opaque</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00151">151</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="aaf965f90f9fc938db2315ff62028c362"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">GLuint window::pos</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00141">141</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a5202f3b60e262a6fa4fcee68dd47cb67"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">GLuint window::rotation_uniform</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00140">140</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a7d0790cfc7c30621611fa26ab5c1ae97"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct wl_surface* window::surface</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00147">147</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="ad2b6c8ed8044b41fd1189a0ce26d539a"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct <a class="el" href="../../dd/ddc/structgeometry.html">geometry</a> <a class="el" href="../../dd/ddc/structgeometry.html">geometry</a> window::window_size</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00138">138</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<hr/>The documentation for this struct was generated from the following file:<ul> +<li>libhomescreen/<a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a></li> +</ul> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="../../doxygen.png" alt="doxygen"/> +</a> 1.8.11 +</small></address> +</body> +</html> diff --git a/doc/api-ref/html/d6/df5/structdisplay.html b/doc/api-ref/html/d6/df5/structdisplay.html new file mode 100644 index 0000000..3fee795 --- /dev/null +++ b/doc/api-ref/html/d6/df5/structdisplay.html @@ -0,0 +1,285 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.11"/> +<title>HomeScreenBinding: display Struct Reference</title> +<link href="../../tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../jquery.js"></script> +<script type="text/javascript" src="../../dynsections.js"></script> +<link href="../../search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../search/searchdata.js"></script> +<script type="text/javascript" src="../../search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { init_search(); }); +</script> +<link href="../../doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">HomeScreenBinding + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.11 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="../../index.html"><span>Main Page</span></a></li> + <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li> + <li><a href="../../files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="../../search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="../../annotated.html"><span>Class List</span></a></li> + <li><a href="../../classes.html"><span>Class Index</span></a></li> + <li><a href="../../functions.html"><span>Class Members</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#pub-attribs">Public Attributes</a> | +<a href="../../d4/d10/structdisplay-members.html">List of all members</a> </div> + <div class="headertitle"> +<div class="title">display Struct Reference</div> </div> +</div><!--header--> +<div class="contents"> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> +Public Attributes</h2></td></tr> +<tr class="memitem:aa8faf09631925e9221fd8a0c086ce75a"><td class="memItemLeft" align="right" valign="top">struct wl_display * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df5/structdisplay.html#aa8faf09631925e9221fd8a0c086ce75a">display</a></td></tr> +<tr class="separator:aa8faf09631925e9221fd8a0c086ce75a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a925781323f5c8eb84ef2225ed129de4b"><td class="memItemLeft" align="right" valign="top">struct wl_registry * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df5/structdisplay.html#a925781323f5c8eb84ef2225ed129de4b">registry</a></td></tr> +<tr class="separator:a925781323f5c8eb84ef2225ed129de4b"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a41ba32dfde812165dda5b62885000c78"><td class="memItemLeft" align="right" valign="top">struct wl_compositor * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df5/structdisplay.html#a41ba32dfde812165dda5b62885000c78">compositor</a></td></tr> +<tr class="separator:a41ba32dfde812165dda5b62885000c78"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9dd8fd9967beb6b3767bd93011373bb8"><td class="memItemLeft" align="right" valign="top">struct wl_seat * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df5/structdisplay.html#a9dd8fd9967beb6b3767bd93011373bb8">seat</a></td></tr> +<tr class="separator:a9dd8fd9967beb6b3767bd93011373bb8"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8b8bc104c19ff228d476a377e572d9c7"><td class="memItemLeft" >struct {</td></tr> +<tr class="memitem:a31e0818110271a142ee3f9d8e86068cf"><td class="memItemLeft" >   EGLDisplay   <a class="el" href="../../d6/df5/structdisplay.html#a8a1cbda15a286e41e89a85f158ce9311">dpy</a></td></tr> +<tr class="separator:a31e0818110271a142ee3f9d8e86068cf"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab7c5715297d71a9c8f64af58cc04f9c1"><td class="memItemLeft" >   EGLContext   <a class="el" href="../../d6/df5/structdisplay.html#a3420940a29a710e0e5ebd41ba462cc00">ctx</a></td></tr> +<tr class="separator:ab7c5715297d71a9c8f64af58cc04f9c1"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af564516fb826a8c5e3833897950e286d"><td class="memItemLeft" >   EGLConfig   <a class="el" href="../../d6/df5/structdisplay.html#a880aef9408b499f5b749541dc6e396c3">conf</a></td></tr> +<tr class="separator:af564516fb826a8c5e3833897950e286d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a8b8bc104c19ff228d476a377e572d9c7"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df5/structdisplay.html#a8b8bc104c19ff228d476a377e572d9c7">egl</a></td></tr> +<tr class="separator:a8b8bc104c19ff228d476a377e572d9c7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9974d560bec291487ae2440f897ffc58"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../d6/de3/structwindow.html">window</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df5/structdisplay.html#a9974d560bec291487ae2440f897ffc58">window</a></td></tr> +<tr class="separator:a9974d560bec291487ae2440f897ffc58"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a24c073faff3bb4799c2d46291f27ab89"><td class="memItemLeft" align="right" valign="top">struct ivi_application * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df5/structdisplay.html#a24c073faff3bb4799c2d46291f27ab89">ivi_application</a></td></tr> +<tr class="separator:a24c073faff3bb4799c2d46291f27ab89"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a48c46c118e4765ef06596f6341c8f23f"><td class="memItemLeft" align="right" valign="top">PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df5/structdisplay.html#a48c46c118e4765ef06596f6341c8f23f">swap_buffers_with_damage</a></td></tr> +<tr class="separator:a48c46c118e4765ef06596f6341c8f23f"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"> +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00116">116</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> +</div><h2 class="groupheader">Member Data Documentation</h2> +<a class="anchor" id="a41ba32dfde812165dda5b62885000c78"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct wl_compositor* display::compositor</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00119">119</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a880aef9408b499f5b749541dc6e396c3"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">EGLConfig display::conf</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00124">124</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a3420940a29a710e0e5ebd41ba462cc00"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">EGLContext display::ctx</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00123">123</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="aa8faf09631925e9221fd8a0c086ce75a"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct wl_display* display::display</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00117">117</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a8a1cbda15a286e41e89a85f158ce9311"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">EGLDisplay display::dpy</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00122">122</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a8b8bc104c19ff228d476a377e572d9c7"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct { ... } display::egl</td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a24c073faff3bb4799c2d46291f27ab89"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct ivi_application* display::ivi_application</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00127">127</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a925781323f5c8eb84ef2225ed129de4b"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct wl_registry* display::registry</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00118">118</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a9dd8fd9967beb6b3767bd93011373bb8"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct wl_seat* display::seat</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00120">120</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a48c46c118e4765ef06596f6341c8f23f"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC display::swap_buffers_with_damage</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00129">129</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<a class="anchor" id="a9974d560bec291487ae2440f897ffc58"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">struct <a class="el" href="../../d6/de3/structwindow.html">window</a>* display::window</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../de/da4/simple-egl_8cpp_source.html#l00126">126</a> of file <a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a>.</p> + +</div> +</div> +<hr/>The documentation for this struct was generated from the following file:<ul> +<li>libhomescreen/<a class="el" href="../../de/da4/simple-egl_8cpp_source.html">simple-egl.cpp</a></li> +</ul> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="../../doxygen.png" alt="doxygen"/> +</a> 1.8.11 +</small></address> +</body> +</html> diff --git a/doc/api-ref/html/d6/dff/src_2hmi-debug_8h.html b/doc/api-ref/html/d6/dff/src_2hmi-debug_8h.html new file mode 100644 index 0000000..a229503 --- /dev/null +++ b/doc/api-ref/html/d6/dff/src_2hmi-debug_8h.html @@ -0,0 +1,490 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.11"/> +<title>HomeScreenBinding: src/hmi-debug.h File Reference</title> +<link href="../../tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../jquery.js"></script> +<script type="text/javascript" src="../../dynsections.js"></script> +<link href="../../search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../search/searchdata.js"></script> +<script type="text/javascript" src="../../search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { init_search(); }); +</script> +<link href="../../doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">HomeScreenBinding + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.11 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="../../index.html"><span>Main Page</span></a></li> + <li><a href="../../annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="../../files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="../../search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="../../files.html"><span>File List</span></a></li> + <li><a href="../../globals.html"><span>File Members</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#define-members">Macros</a> | +<a href="#enum-members">Enumerations</a> | +<a href="#func-members">Functions</a> | +<a href="#var-members">Variables</a> </div> + <div class="headertitle"> +<div class="title">hmi-debug.h File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <time.h></code><br /> +<code>#include <stdio.h></code><br /> +<code>#include <stdarg.h></code><br /> +<code>#include <string.h></code><br /> +<code>#include <stdlib.h></code><br /> +</div> +<p><a href="../../d6/dff/src_2hmi-debug_8h_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> +Macros</h2></td></tr> +<tr class="memitem:a5fccb4fc71e44089a1b1a77fc76c0b68"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>   (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)</td></tr> +<tr class="separator:a5fccb4fc71e44089a1b1a77fc76c0b68"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a65bb6c7cfe38f8a724beab5059d36fb2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a65bb6c7cfe38f8a724beab5059d36fb2">HMI_ERROR</a>(prefix, args, ...)   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__, __LINE__, prefix, args, ##__VA_ARGS__)</td></tr> +<tr class="separator:a65bb6c7cfe38f8a724beab5059d36fb2"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a25361812432cd2480bc8f1a8e56ecbf7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a25361812432cd2480bc8f1a8e56ecbf7">HMI_WARNING</a>(prefix, args, ...)   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef">LOG_LEVEL_WARNING</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</td></tr> +<tr class="separator:a25361812432cd2480bc8f1a8e56ecbf7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:abc0d6e0760017d8ae48b836925b2ef15"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(prefix, args, ...)   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e">LOG_LEVEL_NOTICE</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</td></tr> +<tr class="separator:abc0d6e0760017d8ae48b836925b2ef15"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a11b249a67108f0f4c50a0fc8a3eb4f5c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a11b249a67108f0f4c50a0fc8a3eb4f5c">HMI_INFO</a>(prefix, args, ...)   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4">LOG_LEVEL_INFO</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</td></tr> +<tr class="separator:a11b249a67108f0f4c50a0fc8a3eb4f5c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a0d26d8b8201011dade787236519711c0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0d26d8b8201011dade787236519711c0">HMI_DEBUG</a>(prefix, args, ...)   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</td></tr> +<tr class="separator:a0d26d8b8201011dade787236519711c0"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> +Enumerations</h2></td></tr> +<tr class="memitem:aa5a9053636a30269210c54e734e0d583"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583">LOG_LEVEL</a> { <br /> +  <a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848">LOG_LEVEL_NONE</a> = 0, +<a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a>, +<a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef">LOG_LEVEL_WARNING</a>, +<a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e">LOG_LEVEL_NOTICE</a>, +<br /> +  <a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4">LOG_LEVEL_INFO</a>, +<a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a>, +<a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444">LOG_LEVEL_MAX</a> = LOG_LEVEL_DEBUG, +<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848">LOG_LEVEL_NONE</a> = 0, +<br /> +  <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a>, +<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef">LOG_LEVEL_WARNING</a>, +<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e">LOG_LEVEL_NOTICE</a>, +<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4">LOG_LEVEL_INFO</a>, +<br /> +  <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a>, +<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444">LOG_LEVEL_MAX</a> = LOG_LEVEL_DEBUG +<br /> + }</td></tr> +<tr class="separator:aa5a9053636a30269210c54e734e0d583"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:a0846b9d51e2e0612c4825a9a581aa40a"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a> (enum <a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583">LOG_LEVEL</a> level, const char *file, const char *func, const int line, const char *prefix, const char *log,...)</td></tr> +<tr class="separator:a0846b9d51e2e0612c4825a9a581aa40a"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> +Variables</h2></td></tr> +<tr class="memitem:a13d4c7647aad2e84766f8b48a6caab09"><td class="memItemLeft" align="right" valign="top">static char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a13d4c7647aad2e84766f8b48a6caab09">ERROR_FLAG</a> [6][20] = {"NONE", "ERROR", "WARNING", "NOTICE", "INFO", "DEBUG"}</td></tr> +<tr class="separator:a13d4c7647aad2e84766f8b48a6caab09"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Macro Definition Documentation</h2> +<a class="anchor" id="a5fccb4fc71e44089a1b1a77fc76c0b68"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define __FILENAME__   (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00040">40</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a0d26d8b8201011dade787236519711c0"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define HMI_DEBUG</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">prefix, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">args, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00046">46</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a65bb6c7cfe38f8a724beab5059d36fb2"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define HMI_ERROR</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">prefix, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">args, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__, __LINE__, prefix, args, ##__VA_ARGS__)</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00042">42</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a11b249a67108f0f4c50a0fc8a3eb4f5c"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define HMI_INFO</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">prefix, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">args, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4">LOG_LEVEL_INFO</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00045">45</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> + +</div> +</div> +<a class="anchor" id="abc0d6e0760017d8ae48b836925b2ef15"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define HMI_NOTICE</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">prefix, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">args, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e">LOG_LEVEL_NOTICE</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00044">44</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a25361812432cd2480bc8f1a8e56ecbf7"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define HMI_WARNING</td> + <td>(</td> + <td class="paramtype"> </td> + <td class="paramname">prefix, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname">args, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td>   <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef">LOG_LEVEL_WARNING</a>, <a class="el" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68">__FILENAME__</a>, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00043">43</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> + +</div> +</div> +<h2 class="groupheader">Enumeration Type Documentation</h2> +<a class="anchor" id="aa5a9053636a30269210c54e734e0d583"></a> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">enum <a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583">LOG_LEVEL</a></td> + </tr> + </table> +</div><div class="memdoc"> +<table class="fieldtable"> +<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848"></a>LOG_LEVEL_NONE </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f"></a>LOG_LEVEL_ERROR </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef"></a>LOG_LEVEL_WARNING </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e"></a>LOG_LEVEL_NOTICE </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4"></a>LOG_LEVEL_INFO </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177"></a>LOG_LEVEL_DEBUG </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444"></a>LOG_LEVEL_MAX </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848"></a>LOG_LEVEL_NONE </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f"></a>LOG_LEVEL_ERROR </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef"></a>LOG_LEVEL_WARNING </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e"></a>LOG_LEVEL_NOTICE </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4"></a>LOG_LEVEL_INFO </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177"></a>LOG_LEVEL_DEBUG </td><td class="fielddoc"> +</td></tr> +<tr><td class="fieldname"><a class="anchor" id="aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444"></a>LOG_LEVEL_MAX </td><td class="fielddoc"> +</td></tr> +</table> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00030">30</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> +<div class="fragment"><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848">LOG_LEVEL_NONE</a> = 0,</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a>,</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef">LOG_LEVEL_WARNING</a>,</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e">LOG_LEVEL_NOTICE</a>,</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4">LOG_LEVEL_INFO</a>,</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a>,</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444">LOG_LEVEL_MAX</a> = LOG_LEVEL_DEBUG</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> };</div><div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444">LOG_LEVEL_MAX</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00033">hmi-debug.h:33</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e">LOG_LEVEL_NOTICE</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00030">hmi-debug.h:30</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4">LOG_LEVEL_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00031">hmi-debug.h:31</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00028">hmi-debug.h:28</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef">LOG_LEVEL_WARNING</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00029">hmi-debug.h:29</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00032">hmi-debug.h:32</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848">LOG_LEVEL_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00027">hmi-debug.h:27</a></div></div> +</div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Function Documentation</h2> +<a class="anchor" id="a0846b9d51e2e0612c4825a9a581aa40a"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">static void _HMI_LOG </td> + <td>(</td> + <td class="paramtype">enum <a class="el" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583">LOG_LEVEL</a> </td> + <td class="paramname"><em>level</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>file</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>func</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const int </td> + <td class="paramname"><em>line</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>prefix</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"><em>log</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"> </td> + <td class="paramname"><em>...</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00050">50</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> +<div class="fragment"><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> log_level = (getenv(<span class="stringliteral">"USE_HMI_DEBUG"</span>) == NULL)?<a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a>:atoi(getenv(<span class="stringliteral">"USE_HMI_DEBUG"</span>));</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">if</span>(log_level < level)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">char</span> *message;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">struct </span>timespec tp;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> time;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  clock_gettime(CLOCK_REALTIME, &tp);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  time = (tp.tv_sec * 1000000L) + (tp.tv_nsec / 1000);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  va_list args;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  va_start(args, log);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (log == NULL || vasprintf(&message, log, args) < 0)</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  message = NULL;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  fprintf(stderr, <span class="stringliteral">"[%10.3f] [%s %s] [%s, %s(), Line:%d] >>> %s \n"</span>, time / 1000.0, prefix, <a class="code" href="../../d6/dff/src_2hmi-debug_8h.html#a13d4c7647aad2e84766f8b48a6caab09">ERROR_FLAG</a>[level], file, func, line, message);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  va_end(args);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  free(message);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div><div class="ttc" id="src_2hmi-debug_8h_html_a13d4c7647aad2e84766f8b48a6caab09"><div class="ttname"><a href="../../d6/dff/src_2hmi-debug_8h.html#a13d4c7647aad2e84766f8b48a6caab09">ERROR_FLAG</a></div><div class="ttdeci">static char ERROR_FLAG[6][20]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dff/src_2hmi-debug_8h_source.html#l00048">hmi-debug.h:48</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00028">hmi-debug.h:28</a></div></div> +</div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Variable Documentation</h2> +<a class="anchor" id="a13d4c7647aad2e84766f8b48a6caab09"></a> +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">char ERROR_FLAG[6][20] = {"NONE", "ERROR", "WARNING", "NOTICE", "INFO", "DEBUG"}</td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">static</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>Definition at line <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html#l00048">48</a> of file <a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>.</p> + +</div> +</div> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="../../doxygen.png" alt="doxygen"/> +</a> 1.8.11 +</small></address> +</body> +</html> diff --git a/doc/api-ref/html/d6/dff/src_2hmi-debug_8h_source.html b/doc/api-ref/html/d6/dff/src_2hmi-debug_8h_source.html new file mode 100644 index 0000000..d4cd670 --- /dev/null +++ b/doc/api-ref/html/d6/dff/src_2hmi-debug_8h_source.html @@ -0,0 +1,109 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.11"/> +<title>HomeScreenBinding: src/hmi-debug.h Source File</title> +<link href="../../tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../jquery.js"></script> +<script type="text/javascript" src="../../dynsections.js"></script> +<link href="../../search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="../../search/searchdata.js"></script> +<script type="text/javascript" src="../../search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { init_search(); }); +</script> +<link href="../../doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">HomeScreenBinding + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.11 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="../../index.html"><span>Main Page</span></a></li> + <li><a href="../../annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="../../files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="../../search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="../../files.html"><span>File List</span></a></li> + <li><a href="../../globals.html"><span>File Members</span></a></li> + </ul> + </div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">hmi-debug.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="../../d6/dff/src_2hmi-debug_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2017 TOYOTA MOTOR CORPORATION</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * You may obtain a copy of the License at</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * limitations under the License.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> */</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __HMI_DEBUG_H__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __HMI_DEBUG_H__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <time.h></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <stdarg.h></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <string.h></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <stdlib.h></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583"> 30</a></span> <span class="keyword">enum</span> <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583">LOG_LEVEL</a>{</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848"> 31</a></span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848">LOG_LEVEL_NONE</a> = 0,</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f"> 32</a></span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a>,</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef"> 33</a></span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef">LOG_LEVEL_WARNING</a>,</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e"> 34</a></span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e">LOG_LEVEL_NOTICE</a>,</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4"> 35</a></span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4">LOG_LEVEL_INFO</a>,</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177"> 36</a></span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a>,</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444"> 37</a></span>  <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444">LOG_LEVEL_MAX</a> = <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> };</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#a5fccb4fc71e44089a1b1a77fc76c0b68"> 40</a></span> <span class="preprocessor">#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#a65bb6c7cfe38f8a724beab5059d36fb2"> 42</a></span> <span class="preprocessor">#define HMI_ERROR(prefix, args,...) _HMI_LOG(LOG_LEVEL_ERROR, __FILENAME__, __FUNCTION__, __LINE__, prefix, args, ##__VA_ARGS__)</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#a25361812432cd2480bc8f1a8e56ecbf7"> 43</a></span> <span class="preprocessor">#define HMI_WARNING(prefix, args,...) _HMI_LOG(LOG_LEVEL_WARNING, __FILENAME__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15"> 44</a></span> <span class="preprocessor">#define HMI_NOTICE(prefix, args,...) _HMI_LOG(LOG_LEVEL_NOTICE, __FILENAME__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#a11b249a67108f0f4c50a0fc8a3eb4f5c"> 45</a></span> <span class="preprocessor">#define HMI_INFO(prefix, args,...) _HMI_LOG(LOG_LEVEL_INFO, __FILENAME__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#a0d26d8b8201011dade787236519711c0"> 46</a></span> <span class="preprocessor">#define HMI_DEBUG(prefix, args,...) _HMI_LOG(LOG_LEVEL_DEBUG, __FILENAME__, __FUNCTION__,__LINE__, prefix, args,##__VA_ARGS__)</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#a13d4c7647aad2e84766f8b48a6caab09"> 48</a></span> <span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code" href="../../d6/dff/src_2hmi-debug_8h.html#a13d4c7647aad2e84766f8b48a6caab09">ERROR_FLAG</a>[6][20] = {<span class="stringliteral">"NONE"</span>, <span class="stringliteral">"ERROR"</span>, <span class="stringliteral">"WARNING"</span>, <span class="stringliteral">"NOTICE"</span>, <span class="stringliteral">"INFO"</span>, <span class="stringliteral">"DEBUG"</span>};</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a"> 50</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a>(<span class="keyword">enum</span> <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583">LOG_LEVEL</a> level, <span class="keyword">const</span> <span class="keywordtype">char</span>* file, <span class="keyword">const</span> <span class="keywordtype">char</span>* func, <span class="keyword">const</span> <span class="keywordtype">int</span> line, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix, <span class="keyword">const</span> <span class="keywordtype">char</span>* log, ...)</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> log_level = (getenv(<span class="stringliteral">"USE_HMI_DEBUG"</span>) == NULL)?<a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a>:atoi(getenv(<span class="stringliteral">"USE_HMI_DEBUG"</span>));</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">if</span>(log_level < level)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">char</span> *message;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">struct </span>timespec tp;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> time;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  clock_gettime(CLOCK_REALTIME, &tp);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  time = (tp.tv_sec * 1000000L) + (tp.tv_nsec / 1000);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  va_list args;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  va_start(args, log);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (log == NULL || vasprintf(&message, log, args) < 0)</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  message = NULL;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  fprintf(stderr, <span class="stringliteral">"[%10.3f] [%s %s] [%s, %s(), Line:%d] >>> %s \n"</span>, time / 1000.0, prefix, ERROR_FLAG[level], file, func, line, message);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  va_end(args);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  free(message);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#endif //__HMI_DEBUG_H__</span></div><div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a0459003454bc8bb17752e6d8e5787444">LOG_LEVEL_MAX</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00033">hmi-debug.h:33</a></div></div> +<div class="ttc" id="src_2hmi-debug_8h_html_a0846b9d51e2e0612c4825a9a581aa40a"><div class="ttname"><a href="../../d6/dff/src_2hmi-debug_8h.html#a0846b9d51e2e0612c4825a9a581aa40a">_HMI_LOG</a></div><div class="ttdeci">static void _HMI_LOG(enum LOG_LEVEL level, const char *file, const char *func, const int line, const char *prefix, const char *log,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dff/src_2hmi-debug_8h_source.html#l00050">hmi-debug.h:50</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583">LOG_LEVEL</a></div><div class="ttdeci">LOG_LEVEL</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00026">hmi-debug.h:26</a></div></div> +<div class="ttc" id="src_2hmi-debug_8h_html_a13d4c7647aad2e84766f8b48a6caab09"><div class="ttname"><a href="../../d6/dff/src_2hmi-debug_8h.html#a13d4c7647aad2e84766f8b48a6caab09">ERROR_FLAG</a></div><div class="ttdeci">static char ERROR_FLAG[6][20]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dff/src_2hmi-debug_8h_source.html#l00048">hmi-debug.h:48</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a23ae4d711a7bbb3900240cb7316b4b4e">LOG_LEVEL_NOTICE</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00030">hmi-debug.h:30</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583aedee1e3159bfe7d918b6e29873c5aee4">LOG_LEVEL_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00031">hmi-debug.h:31</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b40f003febbc3b535649d63f4b8a44f">LOG_LEVEL_ERROR</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00028">hmi-debug.h:28</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a5b4dd81b4dc7eefbc55ba03415c627ef">LOG_LEVEL_WARNING</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00029">hmi-debug.h:29</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a538b2b6e011479d408ecd2be0f6d6177">LOG_LEVEL_DEBUG</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00032">hmi-debug.h:32</a></div></div> +<div class="ttc" id="include_2hmi-debug_8h_html_aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#aa5a9053636a30269210c54e734e0d583a69dacb1837e1e37c6ed34cc2ee1d8848">LOG_LEVEL_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00027">hmi-debug.h:27</a></div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="../../doxygen.png" alt="doxygen"/> +</a> 1.8.11 +</small></address> +</body> +</html> |