aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api-ref/html/d6/dda/homescreen_8cpp.html
blob: c9edaec698e4856906eb69e4387ead695b18f3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
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&#160;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&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>File&#160;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> &#124;
<a href="#func-members">Functions</a> &#124;
<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 &lt;memory&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
<code>#include &quot;<a class="el" href="../../d3/d3d/hs-helper_8h_source.html">hs-helper.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d6/dff/src_2hmi-debug_8h_source.html">hmi-debug.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../de/dca/hs-clientmanager_8h_source.html">hs-clientmanager.h</a>&quot;</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&#160;</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">&#160;</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&#160;</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">&#160;</td></tr>
<tr class="memitem:ab8abb667377924d5c073611738febbd3"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:a0df2b60ff6cd56b53dc87b36bfee2b91"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:a7443596f6ddf459824ecd8138c681532"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:a6e942ab2b7207d2aef9adce71a4574e8"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:a3b162ab1856a8fa4284cb2c5c35ea748"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:ae475c69e7ca2a539ae0fb40a82963ac1"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:a057c380ea38cfba4e2fbccc40fc21798"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:a710bcc84a61e11dbd4517def2764ff95"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:ad96a84455e8676abb4486e48ef67b1ad"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:a916c8dd31373222ee2b6ef89aca91978"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</td></tr>
<tr class="memitem:ab3b1914acb53dcc038c1cf86c2975785"><td class="memItemLeft" align="right" valign="top">static int&#160;</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">&#160;</td></tr>
<tr class="memitem:a5d7de3437d5dcb79fa035959d95878db"><td class="memItemLeft" align="right" valign="top">static int&#160;</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">&#160;</td></tr>
<tr class="memitem:a60665935681c76d38b3833912109cdd3"><td class="memItemLeft" align="right" valign="top">static void&#160;</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">&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#aed1c5296a2e6d34945507a0fca17a376">_error</a> [] = &quot;error&quot;</td></tr>
<tr class="separator:aed1c5296a2e6d34945507a0fca17a376"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a0e1db2562b442f8131ddf64b61d1ba"><td class="memItemLeft" align="right" valign="top">const char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a> [] = &quot;application_id&quot;</td></tr>
<tr class="separator:a6a0e1db2562b442f8131ddf64b61d1ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfd6c1d6f316fa952b11553f8f275e92"><td class="memItemLeft" align="right" valign="top">const char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#abfd6c1d6f316fa952b11553f8f275e92">_display_message</a> [] = &quot;display_message&quot;</td></tr>
<tr class="separator:abfd6c1d6f316fa952b11553f8f275e92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79b0f0b481161527ccb80e83da143219"><td class="memItemLeft" align="right" valign="top">const char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dda/homescreen_8cpp.html#a79b0f0b481161527ccb80e83da143219">_reply_message</a> [] = &quot;reply_message&quot;</td></tr>
<tr class="separator:a79b0f0b481161527ccb80e83da143219"><td class="memSeparator" colspan="2">&#160;</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> *&#160;</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">&#160;</td></tr>
<tr class="memitem:a01e06b6317acebc1d5686386b15f0872"><td class="memItemLeft" align="right" valign="top">static const afb_verb_t&#160;</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">&#160;</td></tr>
<tr class="memitem:a970e7864dba290a0371534ad4961bcc5"><td class="memItemLeft" align="right" valign="top">const afb_binding_t&#160;</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">&#160;</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&#160;</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>&#160;{</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;failed&quot;</span>, <span class="stringliteral">&quot;called %s, Unknown parameter&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    }</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    <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>&#160;    <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>&#160;      <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>&#160;    afb_req_success(request, res, <span class="stringliteral">&quot;afb_event_push event [hideWindow]&quot;</span>);</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;binding init&quot;</span>);</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;failed&quot;</span>, <span class="stringliteral">&quot;called %s, Unknown parameter&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    }</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <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>&#160;    <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>&#160;      <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>&#160;    afb_req_success(request, res, <span class="stringliteral">&quot;afb_event_push event [on_screen_message]&quot;</span>);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;failed&quot;</span>, <span class="stringliteral">&quot;called %s, Unknown parameter&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    }</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <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>&#160;    <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>&#160;      <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>&#160;    afb_req_success(request, res, <span class="stringliteral">&quot;afb_event_push event [on_screen_reply]&quot;</span>);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;}</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&#160;</td>
          <td class="paramname"><em>api</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>event</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct json_object *&#160;</td>
          <td class="paramname"><em>object</em>&#160;</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>&#160;{</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;   <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;on_event %s&quot;</span>, event);</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;   <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>&#160;   afb_req_success_f(request, json_object_new_int(pingcount), <span class="stringliteral">&quot;Ping count = %d&quot;</span>, pingcount);</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;   <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Verbosity macro at level notice invoked at ping invocation count = %d&quot;</span>, pingcount);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;   pingcount++;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;   <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;binding preinit (was register)&quot;</span>);</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;   <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;failed&quot;</span>, <span class="stringliteral">&quot;called %s, Unknown parameter&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    }</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    <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>&#160;    <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>&#160;      <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>&#160;    afb_req_success(request, res, <span class="stringliteral">&quot;afb_event_push event [replyShowWindow]&quot;</span>);</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;failed&quot;</span>, <span class="stringliteral">&quot;called %s, Unknown parameter&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    }</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <span class="comment">// response to Application</span></div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    <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>&#160;    <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>&#160;      <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>&#160;    afb_req_success(request, res, <span class="stringliteral">&quot;afb_event_push event [showInformation]&quot;</span>);</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;failed&quot;</span>, <span class="stringliteral">&quot;called %s, Unknown parameter&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    }</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    <span class="comment">// response to Application</span></div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    <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>&#160;    <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>&#160;      <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>&#160;    afb_req_success(request, res, <span class="stringliteral">&quot;afb_event_push event [showNotification]&quot;</span>);</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;failed&quot;</span>, <span class="stringliteral">&quot;called %s, Unknown parameter&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    }</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    <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>&#160;    <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>&#160;      <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>&#160;    afb_req_success(request, res, <span class="stringliteral">&quot;afb_event_push event [showWindow]&quot;</span>);</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span>(ret) {</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;afb_req_subscribe failed&quot;</span>, <span class="stringliteral">&quot;called %s.&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    }</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="comment">/*create response json object*/</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <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>&#160;    <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>&#160;        <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>&#160;    afb_req_success_f(request, res, <span class="stringliteral">&quot;homescreen binder subscribe.&quot;</span>);</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span> (ret != 0) {</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;failed&quot;</span>, <span class="stringliteral">&quot;called %s, Unknown parameter&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    }</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="comment">// response to HomeScreen</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <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>&#160;    <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>&#160;      <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>&#160;    afb_req_success(request, res, <span class="stringliteral">&quot;afb_event_push event [tap_shortcut]&quot;</span>);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;}</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&#160;</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>&#160;{</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="keywordtype">int</span> ret = <a class="code" href="../../d6/dda/homescreen_8cpp.html#a501f5bca8425de3171d46e0723f466ec">g_client_manager</a>-&gt;<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>&#160;    <span class="keywordflow">if</span>(ret) {</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;      afb_req_fail_f(request, <span class="stringliteral">&quot;afb_req_unsubscribe failed&quot;</span>, <span class="stringliteral">&quot;called %s.&quot;</span>, __FUNCTION__);</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;      <span class="keywordflow">return</span>;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    }</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="comment">/*create response json object*/</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <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>&#160;    <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>&#160;        <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>&#160;    afb_req_success_f(request, res, <span class="stringliteral">&quot;homescreen binder unsubscribe success.&quot;</span>);</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;}</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[] = &quot;application_id&quot;</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[] = &quot;display_message&quot;</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[] = &quot;error&quot;</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[] = &quot;reply_message&quot;</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">&quot;homescreen&quot;</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">&quot;ping&quot;</span>,              .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ace65cfe6008848a3cd66581f536cc4c9">pingSample</a>             },</div><div class="line">    { .verb=<span class="stringliteral">&quot;tap_shortcut&quot;</span>,      .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ab8abb667377924d5c073611738febbd3">tap_shortcut</a>           },</div><div class="line">    { .verb=<span class="stringliteral">&quot;showWindow&quot;</span>,        .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ae475c69e7ca2a539ae0fb40a82963ac1">showWindow</a>             },</div><div class="line">    { .verb=<span class="stringliteral">&quot;hideWindow&quot;</span>,        .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a057c380ea38cfba4e2fbccc40fc21798">hideWindow</a>             },</div><div class="line">    { .verb=<span class="stringliteral">&quot;replyShowWindow&quot;</span>,   .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a710bcc84a61e11dbd4517def2764ff95">replyShowWindow</a>        },</div><div class="line">    { .verb=<span class="stringliteral">&quot;on_screen_message&quot;</span>, .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a0df2b60ff6cd56b53dc87b36bfee2b91">on_screen_message</a>      },</div><div class="line">    { .verb=<span class="stringliteral">&quot;on_screen_reply&quot;</span>,   .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a7443596f6ddf459824ecd8138c681532">on_screen_reply</a>        },</div><div class="line">    { .verb=<span class="stringliteral">&quot;subscribe&quot;</span>,         .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a6e942ab2b7207d2aef9adce71a4574e8">subscribe</a>              },</div><div class="line">    { .verb=<span class="stringliteral">&quot;unsubscribe&quot;</span>,       .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#a3b162ab1856a8fa4284cb2c5c35ea748">unsubscribe</a>            },</div><div class="line">    { .verb=<span class="stringliteral">&quot;showNotification&quot;</span>,  .callback=<a class="code" href="../../d6/dda/homescreen_8cpp.html#ad96a84455e8676abb4486e48ef67b1ad">showNotification</a>       },</div><div class="line">    { .verb=<span class="stringliteral">&quot;showInformation&quot;</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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>