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>Arguments</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    keyboardType                            = KEYBOARD_TYPE_FULL
43    bottomButtonType                        = BOTTOM_BUTTON_TYPE_2BUTTON
44    finishableCondition                     = FINISHABLE_CONDITION_NONE
45    maskMode                                = MASK_MODE_DISABLE
46    parentalControlsMode                    = PARENTAL_CONTROLS_MODE_DISABLE
47    upperScreenFlag                         = UPPER_SCREEN_NORMAL
48    textCheckFlag                           = TEXT_CHECK_DISABLE
49    extOutputDataFlag                       = EXT_OUTPUT_DATA_NONE
50    textLengthMax                           = TEXT_LENGTH_MAX_MAX
51    numUserWords                            = 0
52    numNumbersMax                           = 0
53    bottomButtonText                        = 0(fill)
54    tenkeyExtKeyChar                        = 0(fill)
55    guideText                               = 0(fill)
56    prediction                              = false
57    lineFeed                                = true
58    fixedWidthMode                          = false
59    homeButton                              = true
60    softwareReset                           = false
61    powerButton                             = true
62    communicateWithOtherRegions             = false
63    bootWithQwerty                          = false
64    bottomButtonToFinish[BOTTOM_BUTTON_0]   = false
65    bottomButtonToFinish[BOTTOM_BUTTON_1]   = false
66    bottomButtonToFinish[BOTTOM_BUTTON_2]   = true
67    displayLanguage                         = DISPLAY_LANGUAGE_DEFAULT
68    initialInputText                        = -1
69    userWordArray                           = -1
70    initialStatusData                       = -1
71    initialLearningData                     = -1
72    sharedMemorySize                        = 0
73    versionNumber                           = 0
74    returnCode                              = RETURN_CODE_UNKNOWN
75    statusData                              = -1
76    learningData                            = -1
77    inputText                               = -1
78    inputTextLength                         = 0
79    appTextCheckResult                      = APP_TEXT_CHECK_RESULT_OK
80    appTextCheckDialogText                  = 0(fill)
81    skipAtMarkCheck                         = false
82            </code></pre></div>
83    <h2>Revision History</h2>
84    <div class="section">
85      <dl class="history">
86        <dt>2011/08/05</dt>
87        <dd>Added <CODE>displayLanguage</CODE> and <CODE>skipAtMarkCheck</CODE>.<br />
88        </dd>
89        <dt>2011/03/18</dt>
90        <dd>Added specific information on settings.<br />
91        </dd>
92        <dt>2011/03/01</dt>
93        <dd>Initial version.<br />
94        </dd>
95      </dl>
96    </div>
97  <hr><p>CONFIDENTIAL</p></body>
98</html>
99