1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::news::CTR::user</title> 51 </head> 52 <body> 53<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/news/Overview.html">news</a>::<a href="../../../../nn/news/CTR/Overview.html">CTR</a>::user</CODE> Namespace</h1> 54<h2>Description</h2> 55 <div class="section"> 56<p>This is the general application namespace for the <a href="../../../../nn/news/CTR/Overview.html">CTR</a> notifications library.<br /> (This namespace can also be written without the <CODE>::CTR::user</CODE> part.)</p><!-- write here --></div> 57 <a name="function" id="function"> 58<h2>Functions</h2> 59 <div class="section"> 60 <table class="members"> 61 <tr> 62 <td width="100"> </td> 63 <th> 64<a href="../../../../nn/news/CTR/user/Initialize.html"><CODE>Initialize</CODE></a> 65 </th> 66<td>Initializes the message library. Call this once before using the message library.</td> 67 </tr> 68 <tr> 69 <td width="100"> </td> 70 <th> 71<a href="../../../../nn/news/CTR/user/Finalize.html"><CODE>Finalize</CODE></a> 72 </th> 73<td>Finalizes the message library. Call this once after using the message library.</td> 74 </tr> 75 <tr> 76 <td width="100"> </td> 77 <th> 78<a href="../../../../nn/news/CTR/user/PostNews.html"><CODE>PostNews</CODE></a> 79 </th> 80<td>Posts a message.</td> 81 </tr> 82 <tr> 83 <td width="100"> </td> 84 <th> 85<a href="../../../../nn/news/CTR/user/GetWorkBufferSizeForNewsUrl.html">GetWorkBufferSizeForNewsUrl</a> 86 </th> 87<td>Calculates the work buffer size for posting a notification with an embedded URL.</td> 88 </tr> 89 <tr> 90 <td width="100"> </td> 91 <th> 92<a href="../../../../nn/news/CTR/user/PostNewsUrl.html">PostNewsUrl</a> 93 </th> 94<td>Posts a notification with an embedded URL.</td> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99<a href="../../../../nn/news/CTR/user/IsFromNewsList.html">IsFromNewsList</a> 100 </th> 101<td>Determines whether the application was started from the <B>Start Application</B> button on Notifications.<br />If started from a StreetPass notification, the <CODE><a href="../../../../nn/news/CTR/JumpArg/Overview.html">JumpArg</a></CODE> arguments <SPAN class="argument">serialId</SPAN>, <SPAN class="argument">dataVersion</SPAN>, and <SPAN class="argument">jumpParam</SPAN> arguments are all 0.<br />If started from the notification of a regular application, the <CODE><a href="../../../../nn/news/CTR/JumpArg/Overview.html">JumpArg</a></CODE> arguments, <SPAN class="argument">serialId</SPAN>, and <SPAN class="argument">dataVersion</SPAN> are 0, and <SPAN class="argument">jumpParam</SPAN> has the value specified by the <CODE><a href="../../../../nn/news/CTR/user/PostNews.html">nn::news::CTR::user::PostNews</a></CODE> function.<br />If started from a SpotPass notification, the <CODE><a href="../../../../nn/news/CTR/JumpArg/Overview.html">JumpArg</a></CODE> arguments, <SPAN class="argument">serialId</SPAN>, <SPAN class="argument">dataVersion</SPAN>, and <SPAN class="argument">jumpParam</SPAN> have the values set by the BOSS data server.</td> 102 </tr> </table> 103 </div> 104 </a> 105<h2>Revision History</h2> 106 <div class="section"> 107 <dl class="history"> 108 <dt>2010/11/10</dt> 109<dd>Initial version.<br /> 110 </dd> 111 </dl> 112 </div> 113 <hr><p>CONFIDENTIAL</p></body> 114</html>