1 /*---------------------------------------------------------------------------*
2 
3   Copyright (C) Nintendo.  All rights reserved.
4 
5   These coded instructions, statements, and computer programs contain
6   proprietary information of Nintendo of America Inc. and/or Nintendo
7   Company Ltd., and are protected by Federal copyright law.  They may
8   not be disclosed to third parties or copied or duplicated in any form,
9   in whole or in part, without the prior written consent of Nintendo.
10 
11  *---------------------------------------------------------------------------*/
12 
13 #ifndef NN_NGC_H_
14 #define NN_NGC_H_
15 
16 
17 #if defined( __cplusplus )
18 
19 namespace nn {
20     namespace ngc {
21 
22 /*!
23   @addtogroup  nn_ngc_api
24   @{
25 */
26 
27 /*!
28   @brief  The maximum number of characters (including the null terminator) per word when checking words.
29 
30   This value represents a number of characters.
31   To convert this to a number of bytes, multiply the value by <tt>sizeof( wchar_t )</tt>.
32 */
33 const u8    MAX_WORD_LENGTH  = 64;
34 
35 /*!
36   @brief  The maximum number of words that can be checked at one time when checking words.
37 */
38 const u8    MAX_WORD_NUM     = 16;
39 
40 /*!
41 * @brief  The maximum number of characters (including the null terminator) for text when checking text.
42 */
43 const u16   MAX_TEXT_LENGTH  = 512;
44 
45 //! @}
46 
47     } // ngc
48 } // nn
49 
50 
51 /*!
52   @defgroup nn_ngc  Profanity Filter (NGC) Library
53   @brief  Library for the profanity filter.
54   @{
55 */
56 
57 /*!
58   @namespace  nn::ngc
59   @brief  Namespace for the Profanity Filter (NGC) Library.
60 */
61 
62 //! @}
63 
64 #include <nn/ngc/CAFE/ngc_Api.h>
65 #include <nn/ngc/CAFE/ngc_Result.h>
66 #include <nn/ngc/CAFE/ngc_ProfanityFilterPatternList.h>
67 #include <nn/ngc/CAFE/ngc_ProfanityFilterBase.h>
68 #include <nn/ngc/CAFE/ngc_ProfanityFilter.h>
69 
70 namespace nn
71 {
72     namespace ngc
73     {
74         using namespace nn::ngc::Cafe;
75     }
76 }
77 
78 #endif
79 
80 #endif  // NN_NGC_H_
81