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      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48<title>nn::swkbd::CTR::UserWord</title>
49  </head>
50  <body>
51<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/swkbd/Overview.html">swkbd</a>::<a href="../../../../nn/swkbd/CTR/Overview.html">CTR</a>::UserWord</CODE> Structure</h1>
52<h2>Syntax</h2>
53    <div class="section">
54<pre class="definition">struct UserWord
55{
56wchar_t reading[USER_READING_LENGTH_MAX+1];
57wchar_t word[USER_WORD_LENGTH_MAX+1];
58<a href="../../../../nn_types/u8.html">u8</a> language;
59bool allLanguage;
60};
61</pre>
62    </div>
63<h2>Description</h2>
64    <div class="section">
65<p>Structure for a word registered in the user dictionary.</p><p>Stores the reading (pronunciation) and the spelling of the word to register to the user dictionary, as well as the language of the dictionary to which to add the word.<br /><br /><B>Note:</B> The language specified here is separate from the language specified in System Settings. This is the language of the predictive text dictionary, and the user is able to change this language within the software keyboard.</p><p>Specify an <a href="../../../../nn/cfg/CTR/CfgLanguageCode.html"><CODE>nn::cfg::CTR::CfgLanguageCode</CODE></a> enumerated type value for <CODE>language</CODE>.</p><p>When <CODE>allLanguage</CODE> is <CODE>true</CODE>, the word is registered to the user dictionaries for all languages.<br />When <CODE>allLanguage</CODE> is <CODE>false</CODE> and the value of <CODE>language</CODE> is invalid, the word is not registered to any user dictionary.</p></div>
66    <a name="variable" id="variable">
67<h2>Member Variables</h2>
68      <div class="section">
69        <table class="members">
70          <tr>
71            <td width="100"> </td>
72            <th>
73<span class="argument"><CODE>reading</CODE></span>
74            </th>
75<td width="100"><CODE>wchar_t</CODE></td>
76<td>The reading (Japanese-language pronunciation). Null-terminated.</td>
77          </tr>
78          <tr>
79            <td width="100"> </td>
80            <th>
81<span class="argument"><CODE>word</CODE></span>
82            </th>
83<td width="100"><CODE>wchar_t</CODE></td>
84<td>The entry (null-terminated).</td>
85          </tr>
86          <tr>
87            <td width="100"> </td>
88            <th>
89<span class="argument"><CODE>language</CODE></span>
90            </th>
91<td width="100"><a href="../../../../nn_types/u8.html"><CODE>u8</CODE></a></td>
92<td>Which language's dictionary to add the word to.</td>
93          </tr>
94          <tr>
95            <td width="100"> </td>
96            <th>
97<span class="argument"><CODE>allLanguage</CODE></span>
98            </th>
99<td width="100"><CODE>bool</CODE></td>
100<td>Whether to use in all languages.</td>
101          </tr> </table>
102      </div>
103    </a>
104<h2>Revision History</h2>
105    <div class="section">
106      <dl class="history">
107        <dt>2011/03/01</dt>
108<dd>Initial version.<br />
109        </dd>
110      </dl>
111    </div>
112  <hr><p>CONFIDENTIAL</p></body>
113</html>
114