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-11-24#$
14   $Rev: 11186 $
15   $Author: okubata_ryoma $
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 the OS_Init function.
43 
44   Arguments:    isbn: String array of the ISBN (and other information).
45                             {
46                                 char    ISBN[ 17 ] ,
47                                 char    Joint registration code  [ 12 ] ,
48                                 char    (China-specific information displayed on left side) [ 4 ],
49                                 char    (China-specific information displayed on right side) [ 3 ],
50                             }
51 
52                 param: Behavior when displaying ISBNs.
53 
54   Returns:      None.
55  *---------------------------------------------------------------------------*/
56 void    OS_InitChina(const char **isbn, OSChinaIsbn param);
57 
58 /*---------------------------------------------------------------------------*
59   Name:         OS_ShowAttentionChina
60 
61   Description:  Displays the logos and warning screens for China, for the prescribed lengths of time.
62                 This function can be redefined in the user application.
63 
64   Arguments:    isbn: String array of the ISBN (and other information).
65                 param: Behavior when displaying ISBNs.
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