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>TextCheckFlag</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>::TextCheckFlag</CODE> Enumerated Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum TextCheckFlag; 15</pre> 16 </div> 17<h2>Value</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22<th>Value</th> 23<td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27<th><CODE>TEXT_CHECK_DISABLE</CODE></th> 28<td>No text checking is performed.</td> 29 </tr> 30 <tr> 31<th><CODE>TEXT_CHECK_NUMBER</CODE></th> 32<td>The number of numbers that can be input is restricted.</td> 33 </tr> 34 <tr> 35<th><CODE>TEXT_CHECK_AT_MARK</CODE></th> 36<td>Input of the @ symbol is prohibited.</td> 37 </tr> 38 <tr> 39<th><CODE>TEXT_CHECK_PERCENT_SIGN</CODE></th> 40<td>Input of the percent symbol (%) is prohibited.</td> 41 </tr> 42 <tr> 43<th><CODE>TEXT_CHECK_BACKSLASH</CODE></th> 44<td>Input of the backslash (<CODE>\</CODE>) is prohibited.</td> 45 </tr> 46 <tr> 47<th><CODE>TEXT_CHECK_BANNED_WORDS</CODE></th> 48<td>Input of profanity in strings that are displayed on screen is prohibited.</td> 49 </tr> 50 <tr> 51<th><CODE>TEXT_CHECK_APP</CODE></th> 52<td>Text checking is performed by the application.</td> 53 </tr> 54 <tr> 55<th><CODE>TEXT_CHECK_MAX_BIT</CODE></th> 56<td>(This enumerator is used for internal processing. It cannot be used from the application.)</td> 57 </tr> 58 </table> </div> 59<h2>Description</h2> 60 <div class="section"> 61<p>Flags indicating the types of text checks.</p><p>The <CODE>TEXT_CHECK_BANNED_WORDS</CODE> text check is used in the following function.</p><pre> 62 nn::ngc::CTR::ProfanityFilter::CheckProfanityWords( bit32 *, bool, const wchar_t **, size_t )</pre><p>The value of the <CODE>communicateWithOtherRegions</CODE> member variable of the <a href="../../../nn/swkbd/CTR/Config/Overview.html"><CODE>nn::swkbd::CTR::Config</CODE></a> structure (set at software keyboard startup) is passed unchanged to the second argument in the above function. For details, see the Function Reference for the above function.</p></div> 63<h2>Revision History</h2> 64 <div class="section"> 65 <dl class="history"> 66 <dt>2011/10/13</dt> 67<dd>Corrected a mistake in the definition of the <CODE>CheckProfanityWords</CODE> function.<br /> 68 </dd> 69 <dt>2011/04/12</dt> 70<dd>Added descriptions to values that had no descriptions.<br /> 71 </dd> 72 <dt>2011/03/01</dt> 73<dd>Initial version.<br /> 74 </dd> 75 </dl> 76 </div> 77 <hr><p>CONFIDENTIAL</p></body> 78</html>