1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - OS - include 3 File: china.h 4 5 Copyright 2005-2009 Nintendo. 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 $Date:: 2009-05-28#$ 14 $Rev: 10639 $ 15 $Author: mizutani_nakaba $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef NITRO_OS_ARM9_CHINA_H_ 19 #define NITRO_OS_ARM9_CHINA_H_ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 /*===========================================================================*/ 26 27 #define OS_BURY_STRING_FORCHINA "[SDK+NINTENDO:FORCHINA]" 28 #define OS_BUSY_STRING_LEN_FORCHINA 23 29 30 typedef enum 31 { 32 OS_CHINA_ISBN_DISP, 33 OS_CHINA_ISBN_NO_DISP, 34 OS_CHINA_ISBN_CHECK_ROM 35 }OSChinaIsbn; 36 37 /*---------------------------------------------------------------------------* 38 Name: OS_InitChina 39 40 Description: Initializes SDK's OS library. 41 Exclusively for applications for the China region. 42 Use this function instead of OS_Init function. 43 44 Arguments: isbn: String array relating to the ISBN number (and other information) 45 { 46 char ISBN[ 17 ] , 47 char Joint registration code [ 12 ] , 48 char New output sound pipe (left)[ 4 ] , 49 char New output sound pipe (right) [ 3 ] , 50 } 51 52 param: Behavior related to displaying ISBN numbers 53 54 Returns: None. 55 *---------------------------------------------------------------------------*/ 56 void OS_InitChina(const char **isbn, OSChinaIsbn param); 57 58 /*---------------------------------------------------------------------------* 59 Name: OS_ShowAttentionChina 60 61 Description: Displays logo for China and notice for prescribed time. 62 This function can be redefined in the user application. 63 64 Arguments: isbn: String array relating to the ISBN number (and other information) 65 param: Behavior related to displaying ISBN numbers 66 67 Returns: None. 68 *---------------------------------------------------------------------------*/ 69 void OS_ShowAttentionChina(const char **isbn, OSChinaIsbn param); 70 71 72 /*===========================================================================*/ 73 74 #ifdef __cplusplus 75 } /* extern "C" */ 76 #endif 77 78 #endif /* NITRO_OS_ARM9_CHINA_H_ */ 79 80 /*---------------------------------------------------------------------------* 81 End of file 82 *---------------------------------------------------------------------------*/ 83