1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: ngc.h 4 5 Copyright (C)2010 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev: 26069 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_NGC_H_ 17 #define NN_NGC_H_ 18 19 /*! 20 @brief チェックする一単語の最大文字数(NULL終端文字を含む)です。 21 22 この値は文字数を表します。 23 バイト数に変換するにはsizeof( wchar_t )をかけてください。 24 */ 25 #define NN_NGC_MAX_WORD_LENGTH 64 26 27 /*! 28 @brief 一度にチェック可能な単語の最大数です。 29 */ 30 #define NN_NGC_MAX_WORD_NUM 16 31 32 33 34 /*! 35 @namespace nn::ngc 36 @brief 不正文字列チェック(プロファニティフィルタ)のためのライブラリです。 37 */ 38 /*! 39 @namespace nn::ngc::CTR 40 @brief CTR用の、不正文字列チェック(プロファニティフィルタ)のためのライブラリです。 41 <BR>("::CTR" の部分は省略して記述可能です。) 42 */ 43 #if defined( NN_PLATFORM_CTR ) && defined( __cplusplus ) 44 # include <nn/ngc/CTR/ngc_Api.h> 45 # include <nn/ngc/CTR/ngc_ProfanityFilterPatternList.h> 46 # include <nn/ngc/CTR/ngc_ProfanityFilterBase.h> 47 # include <nn/ngc/CTR/ngc_ProfanityFilter.h> 48 49 namespace nn 50 { 51 namespace ngc 52 { 53 using namespace nn::ngc::CTR; 54 } 55 } 56 57 #else 58 # error unknown platform 59 #endif 60 61 #endif // NN_NGC_H_ 62