wut/procui_8h_source.html
2020-03-26 16:49:18 +11:00

198 lines
31 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.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: /home/ash/Code/wut2/include/proc_ui/procui.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">wut
&#160;<span id="projectnumber">1.0.0-beta9</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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');
/* @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_cc241e980db211c9b370576d80a317b8.html">proc_ui</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">procui.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="procui_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="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="wut_8h.html">wut.h</a>&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gae08f8396cbc4f5a1fc92eb3d70643078"> 46</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__proc__ui__procui.html#gae08f8396cbc4f5a1fc92eb3d70643078">ProcUISaveCallback</a>)(void);</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gaad92b1b2283d9e294ca4ee0b4f42fd92"> 51</a></span>&#160;<span class="keyword">typedef</span> uint32_t (*<a class="code" href="group__proc__ui__procui.html#gaad92b1b2283d9e294ca4ee0b4f42fd92">ProcUISaveCallbackEx</a>)(<span class="keywordtype">void</span> *);</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#ga6e0e50365a94d1ddb93f85fc85d9e3fa"> 56</a></span>&#160;<span class="keyword">typedef</span> uint32_t (*<a class="code" href="group__proc__ui__procui.html#ga6e0e50365a94d1ddb93f85fc85d9e3fa">ProcUICallback</a>)(<span class="keywordtype">void</span> *);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#ga9eba9de3b8f84c2482c358a1493ecda8"> 58</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__proc__ui__procui.html#ga9eba9de3b8f84c2482c358a1493ecda8">ProcUICallbackType</a></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;{</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a14172ef5b73cf100d2d87f90ff63af94"> 61</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a14172ef5b73cf100d2d87f90ff63af94">PROCUI_CALLBACK_ACQUIRE</a>,</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a2fa189187f6095d962eccd00231be94e"> 63</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a2fa189187f6095d962eccd00231be94e">PROCUI_CALLBACK_RELEASE</a>,</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8afe1590ca1394fd33548bc1fc6d5f33c8"> 65</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8afe1590ca1394fd33548bc1fc6d5f33c8">PROCUI_CALLBACK_EXIT</a>,</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8aa4a9e50cd1bb571f73ce31a9dfbe0eeb"> 67</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8aa4a9e50cd1bb571f73ce31a9dfbe0eeb">PROCUI_CALLBACK_NET_IO_START</a>,</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a577edd8076d43ce61ce10f140ca136af"> 69</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a577edd8076d43ce61ce10f140ca136af">PROCUI_CALLBACK_NET_IO_STOP</a>,</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a651ffc0a735522261ba2e33ae71e05ed"> 71</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a651ffc0a735522261ba2e33ae71e05ed">PROCUI_CALLBACK_HOME_BUTTON_DENIED</a>,</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;} <a class="code" href="group__proc__ui__procui.html#ga9eba9de3b8f84c2482c358a1493ecda8">ProcUICallbackType</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#gade66d5052242731e3eac46278b7a4f2b"> 74</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__proc__ui__procui.html#gade66d5052242731e3eac46278b7a4f2b">ProcUIStatus</a></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;{</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba71de7c3c1b9407f64cea7bb9036c3d36"> 77</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba71de7c3c1b9407f64cea7bb9036c3d36">PROCUI_STATUS_IN_FOREGROUND</a>,</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba7cb4dd11068823c46ebd543f51d3844b"> 79</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba7cb4dd11068823c46ebd543f51d3844b">PROCUI_STATUS_IN_BACKGROUND</a>,</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba3a9c97294e921391b07c5ead02678030"> 81</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba3a9c97294e921391b07c5ead02678030">PROCUI_STATUS_RELEASE_FOREGROUND</a>,</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2baed39f119bca7f219c93a9dd075d71bcf"> 83</a></span>&#160; <a class="code" href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2baed39f119bca7f219c93a9dd075d71bcf">PROCUI_STATUS_EXITING</a>,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;} <a class="code" href="group__proc__ui__procui.html#gade66d5052242731e3eac46278b7a4f2b">ProcUIStatus</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;uint32_t</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<a class="code" href="group__proc__ui__procui.html#gaee2fb9350ecb48ef24704401a4431ca6">ProcUICalcMemorySize</a>(uint32_t unk);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<a class="code" href="group__proc__ui__procui.html#ga6509e620feaf54dc2e2f7d23313e2f79">ProcUIClearCallbacks</a>();</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<a class="code" href="group__proc__ui__procui.html#gae89a764a7dedc01cfa80ec3a6733c229">ProcUIDrawDoneRelease</a>();</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<a class="code" href="group__proc__ui__procui.html#gabeabd14866cfdea46181526148f25727">ProcUIInForeground</a>();</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<a class="code" href="group__proc__ui__procui.html#ga32550ec8e2a44fa047ccd0ed0c2af67c">ProcUIInShutdown</a>();</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<a class="code" href="group__proc__ui__procui.html#gae02b06d5d7a51f364abbfde02cfa14ef">ProcUIInit</a>(<a class="code" href="group__proc__ui__procui.html#gae08f8396cbc4f5a1fc92eb3d70643078">ProcUISaveCallback</a> saveCallback);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<a class="code" href="group__proc__ui__procui.html#ga25e6a2ffe24eb8f466869352e619fc3f">ProcUIInitEx</a>(<a class="code" href="group__proc__ui__procui.html#gaad92b1b2283d9e294ca4ee0b4f42fd92">ProcUISaveCallbackEx</a> saveCallback,</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordtype">void</span> *arg);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<a class="code" href="group__proc__ui__procui.html#ga918dbc5c465f8c5f2b9f376cd9354df9">ProcUIIsRunning</a>();</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<a class="code" href="group__proc__ui__procui.html#gade66d5052242731e3eac46278b7a4f2b">ProcUIStatus</a></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;<a class="code" href="group__proc__ui__procui.html#gab32d41d50911feff627b2b2bc535d00f">ProcUIProcessMessages</a>(<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> block);</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; </div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;<a class="code" href="group__proc__ui__procui.html#gafe451bcd44c4f7b967b2beec38df0517">ProcUIRegisterCallback</a>(<a class="code" href="group__proc__ui__procui.html#ga9eba9de3b8f84c2482c358a1493ecda8">ProcUICallbackType</a> type,</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <a class="code" href="group__proc__ui__procui.html#ga6e0e50365a94d1ddb93f85fc85d9e3fa">ProcUICallback</a> callback,</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordtype">void</span> *param,</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; uint32_t priority);</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; </div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;<a class="code" href="group__proc__ui__procui.html#gaecc3b07dce458491d7c331958ffff701">ProcUIRegisterCallbackCore</a>(<a class="code" href="group__proc__ui__procui.html#ga9eba9de3b8f84c2482c358a1493ecda8">ProcUICallbackType</a> type,</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <a class="code" href="group__proc__ui__procui.html#ga6e0e50365a94d1ddb93f85fc85d9e3fa">ProcUICallback</a> callback,</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordtype">void</span> *param,</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; uint32_t priority,</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; uint32_t core);</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;<a class="code" href="group__proc__ui__procui.html#ga1f3302a943ee4921b17d702d5e4c7f59">ProcUISetSaveCallback</a>(<a class="code" href="group__proc__ui__procui.html#gaad92b1b2283d9e294ca4ee0b4f42fd92">ProcUISaveCallbackEx</a> saveCallback,</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordtype">void</span> *arg);</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; </div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160;<a class="code" href="group__proc__ui__procui.html#ga6eee334c8cccc14367c7d972d6d00987">ProcUIShutdown</a>();</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; </div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;<a class="code" href="group__proc__ui__procui.html#gade66d5052242731e3eac46278b7a4f2b">ProcUIStatus</a></div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;<a class="code" href="group__proc__ui__procui.html#ga93dbed34ef225ecf734045b191b51375">ProcUISubProcessMessages</a>(<a class="code" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> block);</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; </div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160;}</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup__proc__ui__procui_html_ga918dbc5c465f8c5f2b9f376cd9354df9"><div class="ttname"><a href="group__proc__ui__procui.html#ga918dbc5c465f8c5f2b9f376cd9354df9">ProcUIIsRunning</a></div><div class="ttdeci">BOOL ProcUIIsRunning()</div><div class="ttdoc">Determines whether the application is running.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ggade66d5052242731e3eac46278b7a4f2ba71de7c3c1b9407f64cea7bb9036c3d36"><div class="ttname"><a href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba71de7c3c1b9407f64cea7bb9036c3d36">PROCUI_STATUS_IN_FOREGROUND</a></div><div class="ttdeci">@ PROCUI_STATUS_IN_FOREGROUND</div><div class="ttdoc">The application is in the foreground. All resources may be used.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00077">procui.h:77</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gga9eba9de3b8f84c2482c358a1493ecda8aa4a9e50cd1bb571f73ce31a9dfbe0eeb"><div class="ttname"><a href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8aa4a9e50cd1bb571f73ce31a9dfbe0eeb">PROCUI_CALLBACK_NET_IO_START</a></div><div class="ttdeci">@ PROCUI_CALLBACK_NET_IO_START</div><div class="ttdoc">Application may start using networking.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00067">procui.h:67</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gga9eba9de3b8f84c2482c358a1493ecda8afe1590ca1394fd33548bc1fc6d5f33c8"><div class="ttname"><a href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8afe1590ca1394fd33548bc1fc6d5f33c8">PROCUI_CALLBACK_EXIT</a></div><div class="ttdeci">@ PROCUI_CALLBACK_EXIT</div><div class="ttdoc">Application must exit.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00065">procui.h:65</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gaad92b1b2283d9e294ca4ee0b4f42fd92"><div class="ttname"><a href="group__proc__ui__procui.html#gaad92b1b2283d9e294ca4ee0b4f42fd92">ProcUISaveCallbackEx</a></div><div class="ttdeci">uint32_t(* ProcUISaveCallbackEx)(void *)</div><div class="ttdoc">Called when the application needs to save.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00051">procui.h:51</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gga9eba9de3b8f84c2482c358a1493ecda8a2fa189187f6095d962eccd00231be94e"><div class="ttname"><a href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a2fa189187f6095d962eccd00231be94e">PROCUI_CALLBACK_RELEASE</a></div><div class="ttdeci">@ PROCUI_CALLBACK_RELEASE</div><div class="ttdoc">Application must release the foreground.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00063">procui.h:63</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gafe451bcd44c4f7b967b2beec38df0517"><div class="ttname"><a href="group__proc__ui__procui.html#gafe451bcd44c4f7b967b2beec38df0517">ProcUIRegisterCallback</a></div><div class="ttdeci">void ProcUIRegisterCallback(ProcUICallbackType type, ProcUICallback callback, void *param, uint32_t priority)</div><div class="ttdoc">Register a callback for certain ProcUI events.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ggade66d5052242731e3eac46278b7a4f2ba3a9c97294e921391b07c5ead02678030"><div class="ttname"><a href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba3a9c97294e921391b07c5ead02678030">PROCUI_STATUS_RELEASE_FOREGROUND</a></div><div class="ttdeci">@ PROCUI_STATUS_RELEASE_FOREGROUND</div><div class="ttdoc">The application must release the foregound - see ProcUIDrawDoneRelease()</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00081">procui.h:81</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gab32d41d50911feff627b2b2bc535d00f"><div class="ttname"><a href="group__proc__ui__procui.html#gab32d41d50911feff627b2b2bc535d00f">ProcUIProcessMessages</a></div><div class="ttdeci">ProcUIStatus ProcUIProcessMessages(BOOL block)</div><div class="ttdoc">Main runloop for ProcUI.</div></div>
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ga6eee334c8cccc14367c7d972d6d00987"><div class="ttname"><a href="group__proc__ui__procui.html#ga6eee334c8cccc14367c7d972d6d00987">ProcUIShutdown</a></div><div class="ttdeci">void ProcUIShutdown()</div><div class="ttdoc">Shut down the ProcUI library for the current application.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gga9eba9de3b8f84c2482c358a1493ecda8a651ffc0a735522261ba2e33ae71e05ed"><div class="ttname"><a href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a651ffc0a735522261ba2e33ae71e05ed">PROCUI_CALLBACK_HOME_BUTTON_DENIED</a></div><div class="ttdeci">@ PROCUI_CALLBACK_HOME_BUTTON_DENIED</div><div class="ttdoc">The user attempted to press the HOME button but was denied.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00071">procui.h:71</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ga32550ec8e2a44fa047ccd0ed0c2af67c"><div class="ttname"><a href="group__proc__ui__procui.html#ga32550ec8e2a44fa047ccd0ed0c2af67c">ProcUIInShutdown</a></div><div class="ttdeci">BOOL ProcUIInShutdown()</div><div class="ttdoc">Determines whether the application is in shutdown and should quit.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ga6509e620feaf54dc2e2f7d23313e2f79"><div class="ttname"><a href="group__proc__ui__procui.html#ga6509e620feaf54dc2e2f7d23313e2f79">ProcUIClearCallbacks</a></div><div class="ttdeci">void ProcUIClearCallbacks()</div><div class="ttdoc">Unregister all ProcUI callbacks.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gaee2fb9350ecb48ef24704401a4431ca6"><div class="ttname"><a href="group__proc__ui__procui.html#gaee2fb9350ecb48ef24704401a4431ca6">ProcUICalcMemorySize</a></div><div class="ttdeci">uint32_t ProcUICalcMemorySize(uint32_t unk)</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ggade66d5052242731e3eac46278b7a4f2baed39f119bca7f219c93a9dd075d71bcf"><div class="ttname"><a href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2baed39f119bca7f219c93a9dd075d71bcf">PROCUI_STATUS_EXITING</a></div><div class="ttdeci">@ PROCUI_STATUS_EXITING</div><div class="ttdoc">The application must release all resources (including ProcUI) and quit.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00083">procui.h:83</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ga1f3302a943ee4921b17d702d5e4c7f59"><div class="ttname"><a href="group__proc__ui__procui.html#ga1f3302a943ee4921b17d702d5e4c7f59">ProcUISetSaveCallback</a></div><div class="ttdeci">void ProcUISetSaveCallback(ProcUISaveCallbackEx saveCallback, void *arg)</div><div class="ttdoc">Sets the save callback.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ga9eba9de3b8f84c2482c358a1493ecda8"><div class="ttname"><a href="group__proc__ui__procui.html#ga9eba9de3b8f84c2482c358a1493ecda8">ProcUICallbackType</a></div><div class="ttdeci">ProcUICallbackType</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00058">procui.h:58</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ga6e0e50365a94d1ddb93f85fc85d9e3fa"><div class="ttname"><a href="group__proc__ui__procui.html#ga6e0e50365a94d1ddb93f85fc85d9e3fa">ProcUICallback</a></div><div class="ttdeci">uint32_t(* ProcUICallback)(void *)</div><div class="ttdoc">Generic ProcUI callback.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00056">procui.h:56</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ga25e6a2ffe24eb8f466869352e619fc3f"><div class="ttname"><a href="group__proc__ui__procui.html#ga25e6a2ffe24eb8f466869352e619fc3f">ProcUIInitEx</a></div><div class="ttdeci">void ProcUIInitEx(ProcUISaveCallbackEx saveCallback, void *arg)</div><div class="ttdoc">Initialises the ProcUI library for use; using a save callback that takes arguments.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gae08f8396cbc4f5a1fc92eb3d70643078"><div class="ttname"><a href="group__proc__ui__procui.html#gae08f8396cbc4f5a1fc92eb3d70643078">ProcUISaveCallback</a></div><div class="ttdeci">void(* ProcUISaveCallback)(void)</div><div class="ttdoc">Called when the application needs to save.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00046">procui.h:46</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gaecc3b07dce458491d7c331958ffff701"><div class="ttname"><a href="group__proc__ui__procui.html#gaecc3b07dce458491d7c331958ffff701">ProcUIRegisterCallbackCore</a></div><div class="ttdeci">void ProcUIRegisterCallbackCore(ProcUICallbackType type, ProcUICallback callback, void *param, uint32_t priority, uint32_t core)</div><div class="ttdoc">Register a callback for certain ProcUI events, executed on the given core.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gabeabd14866cfdea46181526148f25727"><div class="ttname"><a href="group__proc__ui__procui.html#gabeabd14866cfdea46181526148f25727">ProcUIInForeground</a></div><div class="ttdeci">BOOL ProcUIInForeground()</div><div class="ttdoc">Determines whether the application is in the foreground.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gga9eba9de3b8f84c2482c358a1493ecda8a577edd8076d43ce61ce10f140ca136af"><div class="ttname"><a href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a577edd8076d43ce61ce10f140ca136af">PROCUI_CALLBACK_NET_IO_STOP</a></div><div class="ttdeci">@ PROCUI_CALLBACK_NET_IO_STOP</div><div class="ttdoc">Application must stop using networking.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00069">procui.h:69</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ggade66d5052242731e3eac46278b7a4f2ba7cb4dd11068823c46ebd543f51d3844b"><div class="ttname"><a href="group__proc__ui__procui.html#ggade66d5052242731e3eac46278b7a4f2ba7cb4dd11068823c46ebd543f51d3844b">PROCUI_STATUS_IN_BACKGROUND</a></div><div class="ttdeci">@ PROCUI_STATUS_IN_BACKGROUND</div><div class="ttdoc">The application is in the background, only limited resources are usable.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00079">procui.h:79</a></div></div>
<div class="ttc" id="awut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372"><div class="ttname"><a href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="ttdeci">int32_t BOOL</div><div class="ttdef"><b>Definition:</b> <a href="wut__types_8h_source.html#l00004">wut_types.h:4</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gade66d5052242731e3eac46278b7a4f2b"><div class="ttname"><a href="group__proc__ui__procui.html#gade66d5052242731e3eac46278b7a4f2b">ProcUIStatus</a></div><div class="ttdeci">ProcUIStatus</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00074">procui.h:74</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gae02b06d5d7a51f364abbfde02cfa14ef"><div class="ttname"><a href="group__proc__ui__procui.html#gae02b06d5d7a51f364abbfde02cfa14ef">ProcUIInit</a></div><div class="ttdeci">void ProcUIInit(ProcUISaveCallback saveCallback)</div><div class="ttdoc">Initialises the ProcUI library for use.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gga9eba9de3b8f84c2482c358a1493ecda8a14172ef5b73cf100d2d87f90ff63af94"><div class="ttname"><a href="group__proc__ui__procui.html#gga9eba9de3b8f84c2482c358a1493ecda8a14172ef5b73cf100d2d87f90ff63af94">PROCUI_CALLBACK_ACQUIRE</a></div><div class="ttdeci">@ PROCUI_CALLBACK_ACQUIRE</div><div class="ttdoc">Application acquires the foreground.</div><div class="ttdef"><b>Definition:</b> <a href="procui_8h_source.html#l00061">procui.h:61</a></div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_ga93dbed34ef225ecf734045b191b51375"><div class="ttname"><a href="group__proc__ui__procui.html#ga93dbed34ef225ecf734045b191b51375">ProcUISubProcessMessages</a></div><div class="ttdeci">ProcUIStatus ProcUISubProcessMessages(BOOL block)</div><div class="ttdoc">ProcUIProcessMessages(), but for secondary cores.</div></div>
<div class="ttc" id="agroup__proc__ui__procui_html_gae89a764a7dedc01cfa80ec3a6733c229"><div class="ttname"><a href="group__proc__ui__procui.html#gae89a764a7dedc01cfa80ec3a6733c229">ProcUIDrawDoneRelease</a></div><div class="ttdeci">void ProcUIDrawDoneRelease()</div><div class="ttdoc">Signifies to ProcUI that the current application has released all foreground resources,...</div></div>
<!-- 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.17
</small></address>
</body>
</html>