libctru/news_8h_source.html
2024-11-03 20:36:34 +00:00

187 lines
26 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libctru: include/3ds/services/news.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<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">libctru
&#160;<span id="projectnumber">v2.4.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></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_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_d475325f6a9fe3bfc3a495c72a9e475e.html">3ds</a></li><li class="navelem"><a class="el" href="dir_0e005207343684f6967052d1f51a7e66.html">services</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">news.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="news_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * @file news.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * @brief NEWS (Notification) service.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">/// Notification header data.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="structNotificationHeader.html"> 8</a></span>&#160;<span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; <span class="keywordtype">bool</span> dataSet;</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; <span class="keywordtype">bool</span> unread;</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <span class="keywordtype">bool</span> enableJPEG;</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <span class="keywordtype">bool</span> isSpotPass;</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; <span class="keywordtype">bool</span> isOptedOut;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <a class="code" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unkData[3];</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <a class="code" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> processID;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <a class="code" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unkData2[8];</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <a class="code" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> jumpParam;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <a class="code" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unkData3[8];</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <a class="code" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> time;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <a class="code" href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a> title[32];</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;} <a class="code" href="structNotificationHeader.html">NotificationHeader</a>;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">/// Initializes NEWS.</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="news_8h.html#a3c194c45cf4af52ee77038055569be7d"> 24</a></span>&#160;<span class="comment"></span><a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a3c194c45cf4af52ee77038055569be7d">newsInit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment">/// Exits NEWS.</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="news_8h.html#aa23120983d46631b08ac6205a55124bd"> 27</a></span>&#160;<span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="news_8h.html#aa23120983d46631b08ac6205a55124bd">newsExit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment"> * @brief Adds a notification to the home menu Notifications applet.</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment"> * @param title UTF-16 title of the notification.</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment"> * @param titleLength Number of characters in the title, not including the null-terminator.</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment"> * @param message UTF-16 message of the notification, or NULL for no message.</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="comment"> * @param messageLength Number of characters in the message, not including the null-terminator.</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment"> * @param image Data of the image to show in the notification, or NULL for no image.</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="comment"> * @param imageSize Size of the image data in bytes.</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment"> * @param jpeg Whether the image is a JPEG or not.</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="news_8h.html#a30e06799b2696add95150e6118a461d9"> 39</a></span>&#160;<a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a30e06799b2696add95150e6118a461d9">NEWS_AddNotification</a>(<span class="keyword">const</span> <a class="code" href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a>* title, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> titleLength, <span class="keyword">const</span> <a class="code" href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a>* message, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> messageLength, <span class="keyword">const</span> <span class="keywordtype">void</span>* imageData, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> imageSize, <span class="keywordtype">bool</span> jpeg);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="comment"> * @brief Gets current total notifications number.</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="comment"> * @param num Pointer where total number will be saved.</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="news_8h.html#a07345dad4ba2b7440c75914d2f1121fb"> 45</a></span>&#160;<a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a07345dad4ba2b7440c75914d2f1121fb">NEWS_GetTotalNotifications</a>(<a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a>* num);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="comment"> * @brief Sets a custom header for a specific notification.</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="comment"> * @param news_id Identification number of the notification.</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="comment"> * @param header Pointer to notification header to set.</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="news_8h.html#a97cb83db73c7b92077febb9e296b9709"> 52</a></span>&#160;<a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a97cb83db73c7b92077febb9e296b9709">NEWS_SetNotificationHeader</a>(<a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> news_id, <span class="keyword">const</span> <a class="code" href="structNotificationHeader.html">NotificationHeader</a>* header);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="comment"> * @brief Gets the header of a specific notification.</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="comment"> * @param news_id Identification number of the notification.</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="comment"> * @param header Pointer where header of the notification will be saved.</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="news_8h.html#a5665c31905bc14e022c3b2fec23e1e59"> 59</a></span>&#160;<a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a5665c31905bc14e022c3b2fec23e1e59">NEWS_GetNotificationHeader</a>(<a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> news_id, <a class="code" href="structNotificationHeader.html">NotificationHeader</a>* header);</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment"> * @brief Sets a custom message for a specific notification.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment"> * @param news_id Identification number of the notification.</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="comment"> * @param message Pointer to UTF-16 message to set.</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="comment"> * @param size Size of message to set.</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="news_8h.html#a8c44f1783dda6c1e8460f188190a8562"> 67</a></span>&#160;<a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a8c44f1783dda6c1e8460f188190a8562">NEWS_SetNotificationMessage</a>(<a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> news_id, <span class="keyword">const</span> <a class="code" href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a>* message, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> size);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="comment"> * @brief Gets the message of a specific notification.</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="comment"> * @param news_id Identification number of the notification.</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="comment"> * @param message Pointer where UTF-16 message of the notification will be saved.</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="comment"> * @param size Pointer where size of the message data will be saved in bytes.</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="news_8h.html#a342d7f3c7169e0aec161bf1c5c75ac19"> 75</a></span>&#160;<a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a342d7f3c7169e0aec161bf1c5c75ac19">NEWS_GetNotificationMessage</a>(<a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> news_id, <a class="code" href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a>* message, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a>* size);</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="comment"> * @brief Sets a custom image for a specific notification.</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="comment"> * @param news_id Identification number of the notification.</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="comment"> * @param buffer Pointer to MPO image to set.</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="comment"> * @param size Size of the MPO image to set.</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="news_8h.html#a29892d78e9e4d55dfc26e4498d748531"> 83</a></span>&#160;<a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a29892d78e9e4d55dfc26e4498d748531">NEWS_SetNotificationImage</a>(<a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> news_id, <span class="keyword">const</span> <span class="keywordtype">void</span>* buffer, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> size);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="comment"> * @brief Gets the image of a specific notification.</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="comment"> * @param news_id Identification number of the notification.</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="comment"> * @param buffer Pointer where MPO image of the notification will be saved.</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="comment"> * @param size Pointer where size of the image data will be saved in bytes.</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="news_8h.html#a3d4541cfc3e4adf22d71a304715a7e52"> 91</a></span>&#160;<a class="code" href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a> <a class="code" href="news_8h.html#a3d4541cfc3e4adf22d71a304715a7e52">NEWS_GetNotificationImage</a>(<a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> news_id, <span class="keywordtype">void</span>* buffer, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a>* size);</div>
<div class="ttc" id="anews_8h_html_a07345dad4ba2b7440c75914d2f1121fb"><div class="ttname"><a href="news_8h.html#a07345dad4ba2b7440c75914d2f1121fb">NEWS_GetTotalNotifications</a></div><div class="ttdeci">Result NEWS_GetTotalNotifications(u32 *num)</div><div class="ttdoc">Gets current total notifications number.</div></div>
<div class="ttc" id="anews_8h_html_a29892d78e9e4d55dfc26e4498d748531"><div class="ttname"><a href="news_8h.html#a29892d78e9e4d55dfc26e4498d748531">NEWS_SetNotificationImage</a></div><div class="ttdeci">Result NEWS_SetNotificationImage(u32 news_id, const void *buffer, u32 size)</div><div class="ttdoc">Sets a custom image for a specific notification.</div></div>
<div class="ttc" id="anews_8h_html_a30e06799b2696add95150e6118a461d9"><div class="ttname"><a href="news_8h.html#a30e06799b2696add95150e6118a461d9">NEWS_AddNotification</a></div><div class="ttdeci">Result NEWS_AddNotification(const u16 *title, u32 titleLength, const u16 *message, u32 messageLength, const void *imageData, u32 imageSize, bool jpeg)</div><div class="ttdoc">Adds a notification to the home menu Notifications applet.</div></div>
<div class="ttc" id="anews_8h_html_a342d7f3c7169e0aec161bf1c5c75ac19"><div class="ttname"><a href="news_8h.html#a342d7f3c7169e0aec161bf1c5c75ac19">NEWS_GetNotificationMessage</a></div><div class="ttdeci">Result NEWS_GetNotificationMessage(u32 news_id, u16 *message, u32 *size)</div><div class="ttdoc">Gets the message of a specific notification.</div></div>
<div class="ttc" id="anews_8h_html_a3c194c45cf4af52ee77038055569be7d"><div class="ttname"><a href="news_8h.html#a3c194c45cf4af52ee77038055569be7d">newsInit</a></div><div class="ttdeci">Result newsInit(void)</div><div class="ttdoc">Initializes NEWS.</div></div>
<div class="ttc" id="anews_8h_html_a3d4541cfc3e4adf22d71a304715a7e52"><div class="ttname"><a href="news_8h.html#a3d4541cfc3e4adf22d71a304715a7e52">NEWS_GetNotificationImage</a></div><div class="ttdeci">Result NEWS_GetNotificationImage(u32 news_id, void *buffer, u32 *size)</div><div class="ttdoc">Gets the image of a specific notification.</div></div>
<div class="ttc" id="anews_8h_html_a5665c31905bc14e022c3b2fec23e1e59"><div class="ttname"><a href="news_8h.html#a5665c31905bc14e022c3b2fec23e1e59">NEWS_GetNotificationHeader</a></div><div class="ttdeci">Result NEWS_GetNotificationHeader(u32 news_id, NotificationHeader *header)</div><div class="ttdoc">Gets the header of a specific notification.</div></div>
<div class="ttc" id="anews_8h_html_a8c44f1783dda6c1e8460f188190a8562"><div class="ttname"><a href="news_8h.html#a8c44f1783dda6c1e8460f188190a8562">NEWS_SetNotificationMessage</a></div><div class="ttdeci">Result NEWS_SetNotificationMessage(u32 news_id, const u16 *message, u32 size)</div><div class="ttdoc">Sets a custom message for a specific notification.</div></div>
<div class="ttc" id="anews_8h_html_a97cb83db73c7b92077febb9e296b9709"><div class="ttname"><a href="news_8h.html#a97cb83db73c7b92077febb9e296b9709">NEWS_SetNotificationHeader</a></div><div class="ttdeci">Result NEWS_SetNotificationHeader(u32 news_id, const NotificationHeader *header)</div><div class="ttdoc">Sets a custom header for a specific notification.</div></div>
<div class="ttc" id="anews_8h_html_aa23120983d46631b08ac6205a55124bd"><div class="ttname"><a href="news_8h.html#aa23120983d46631b08ac6205a55124bd">newsExit</a></div><div class="ttdeci">void newsExit(void)</div><div class="ttdoc">Exits NEWS.</div></div>
<div class="ttc" id="astructNotificationHeader_html"><div class="ttname"><a href="structNotificationHeader.html">NotificationHeader</a></div><div class="ttdoc">Notification header data.</div><div class="ttdef"><b>Definition:</b> news.h:8</div></div>
<div class="ttc" id="atypes_8h_html_a3f7e2bcbb0b4c338f3c4f6c937cd4234"><div class="ttname"><a href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a></div><div class="ttdeci">uint64_t u64</div><div class="ttdoc">64-bit unsigned integer</div><div class="ttdef"><b>Definition:</b> types.h:24</div></div>
<div class="ttc" id="atypes_8h_html_a92c50087ca0e64fa93fc59402c55f8ca"><div class="ttname"><a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a></div><div class="ttdeci">uint8_t u8</div><div class="ttdoc">would be nice if newlib had this already</div><div class="ttdef"><b>Definition:</b> types.h:21</div></div>
<div class="ttc" id="atypes_8h_html_ac830bf5a4f2cf8273f61ab99a46cf163"><div class="ttname"><a href="types_8h.html#ac830bf5a4f2cf8273f61ab99a46cf163">Result</a></div><div class="ttdeci">s32 Result</div><div class="ttdoc">Function result.</div><div class="ttdef"><b>Definition:</b> types.h:42</div></div>
<div class="ttc" id="atypes_8h_html_ace9d960e74685e2cd84b36132dbbf8aa"><div class="ttname"><a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a></div><div class="ttdeci">uint16_t u16</div><div class="ttdoc">16-bit unsigned integer</div><div class="ttdef"><b>Definition:</b> types.h:22</div></div>
<div class="ttc" id="atypes_8h_html_afaa62991928fb9fb18ff0db62a040aba"><div class="ttname"><a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a></div><div class="ttdeci">uint32_t u32</div><div class="ttdoc">32-bit unsigned integer</div><div class="ttdef"><b>Definition:</b> types.h:23</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>