diff options
Diffstat (limited to 'doc/api-ref/html/d6/dda')
-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 |
2 files changed, 979 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> |