1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: ngc.h 4 5 Copyright (C)2009-2012 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: 47308 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_NGC_H_ 17 #define NN_NGC_H_ 18 19 /* Please see man pages for details 20 21 22 23 24 */ 25 #define NN_NGC_MAX_WORD_LENGTH 64 26 27 /* Please see man pages for details 28 29 */ 30 #define NN_NGC_MAX_WORD_NUM 16 31 32 33 /* Please see man pages for details 34 35 */ 36 #define NN_NGC_MAX_TEXT_LENGTH 512 37 38 39 /* Please see man pages for details 40 41 42 */ 43 /* Please see man pages for details 44 45 46 47 */ 48 #if defined( NN_PLATFORM_CTR ) && defined( __cplusplus ) 49 # include <nn/ngc/CTR/ngc_Api.h> 50 # include <nn/ngc/CTR/ngc_ProfanityFilterPatternList.h> 51 # include <nn/ngc/CTR/ngc_ProfanityFilterBase.h> 52 # include <nn/ngc/CTR/ngc_ProfanityFilter.h> 53 54 namespace nn 55 { 56 namespace ngc 57 { 58 using namespace nn::ngc::CTR; 59 } 60 } 61 62 #else 63 # error unknown platform 64 #endif 65 66 67 #if defined( __cplusplus ) 68 namespace nn 69 { 70 namespace ngc 71 { 72 /* Please see man pages for details 73 74 75 76 77 */ 78 const u8 MAX_WORD_LENGTH = NN_NGC_MAX_WORD_LENGTH; 79 80 /* Please see man pages for details 81 82 */ 83 const u8 MAX_WORD_NUM = NN_NGC_MAX_WORD_NUM; 84 85 /* Please see man pages for details 86 87 */ 88 const u16 MAX_TEXT_LENGTH = NN_NGC_MAX_TEXT_LENGTH; 89 } 90 } 91 #endif 92 93 94 #endif // NN_NGC_H_ 95