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    <title>InitializeConfig</title>
8  </head>
9  <body>
10    <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>::InitializeConfig</CODE> Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14void InitializeConfig(
15     <a href="../../../nn/swkbd/CTR/Config/Overview.html">Config</a> * pConfig
16);
17</pre>
18    </div>
19    <h2>Parameters</h2>
20    <div class="section">
21      <table class="arguments">
22        <thead>
23          <tr>
24            <td width="15" />
25            <th>Name</th>
26            <td>Description</td>
27          </tr>
28        </thead>
29        <tr>
30          <td>out</td>
31          <th><CODE>pConfig</CODE></th>
32          <td>The <a href="../../../nn/swkbd/CTR/Config/Overview.html"><CODE>Config</CODE></a> structure, initialized to default values.</td>
33        </tr> </table>
34    </div>
35    <h2>Return Values</h2>
36    <div class="section">
37                None.
38               </div>
39    <h2>Description</h2>
40    <div class="section">
41      <p>Initializes the <a href="../../../nn/swkbd/CTR/Config/Overview.html"><CODE>Config</CODE></a> structure to default values.</p><p>Before using the <a href="../../../nn/swkbd/CTR/Config/Overview.html"><CODE>nn::swkbd::CTR::Config</CODE></a> structure, you must always initialize it with this function.</p><p>This function sets the member variables of the <CODE><a href="../../../nn/swkbd/CTR/Config/Overview.html">nn::swkbd::CTR::Config</a></CODE> structure as follows.</p><pre><code>
42
43    keyboardType                            = KEYBOARD_TYPE_FULL
44    bottomButtonType                        = BOTTOM_BUTTON_TYPE_2BUTTON
45    finishableCondition                     = FINISHABLE_CONDITION_NONE
46    maskMode                                = MASK_MODE_DISABLE
47    parentalControlsMode                    = PARENTAL_CONTROLS_MODE_DISABLE
48    upperScreenFlag                         = UPPER_SCREEN_NORMAL
49    textCheckFlag                           = TEXT_CHECK_DISABLE
50    extOutputDataFlag                       = EXT_OUTPUT_DATA_NONE
51    textLengthMax                           = TEXT_LENGTH_MAX_MAX
52    numUserWords                            = 0
53    numNumbersMax                           = 0
54    bottomButtonText                        = 0(fill)
55    tenkeyExtKeyChar                        = 0(fill)
56    guideText                               = 0(fill)
57    prediction                              = false
58    lineFeed                                = true
59    fixedWidthMode                          = false
60    homeButton                              = true
61    softwareReset                           = false
62    powerButton                             = true
63    communicateWithOtherRegions             = false
64    bootWithQwerty                          = false
65    bottomButtonToFinish[BOTTOM_BUTTON_0]   = false
66    bottomButtonToFinish[BOTTOM_BUTTON_1]   = false
67    bottomButtonToFinish[BOTTOM_BUTTON_2]   = true
68    displayLanguage                         = DISPLAY_LANGUAGE_DEFAULT
69
70    initialInputText                        = -1
71    userWordArray                           = -1
72    initialStatusData                       = -1
73    initialLearningData                     = -1
74    sharedMemorySize                        = 0
75    versionNumber                           = 0
76
77    returnCode                              = RETURN_CODE_UNKNOWN
78    statusData                              = -1
79    learningData                            = -1
80    inputText                               = -1
81    inputTextLength                         = 0
82
83    appTextCheckResult                      = APP_TEXT_CHECK_RESULT_OK
84    appTextCheckDialogText                  = 0(fill)
85
86    skipAtMarkCheck                         = false
87
88            </code></pre></div>
89    <h2>Revision History</h2>
90    <div class="section">
91      <dl class="history">
92        <dt>2011/08/05</dt>
93        <dd>Added <CODE>displayLanguage</CODE> and <CODE>skipAtMarkCheck</CODE>.<br />
94        </dd>
95        <dt>2011/03/18</dt>
96        <dd>Added specific information on settings.<br />
97        </dd>
98        <dt>2011/03/01</dt>
99        <dd>Initial version.<br />
100        </dd>
101      </dl>
102    </div>
103  <hr><p>CONFIDENTIAL</p></body>
104</html>
105