1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - OS - include 3 File: msJump.h 4 5 Copyright 2008 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:: 2008-06-25#$ 14 $Rev: 6757 $ 15 $Author: yosiokat $ 16 *---------------------------------------------------------------------------*/ 17 #ifndef TWL_OS_MACHINE_SETTING_JUMP_H_ 18 #define TWL_OS_MACHINE_SETTING_JUMP_H_ 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 #ifdef SDK_TWL 25 #ifdef SDK_ARM9 26 //---------------------------------------------------------------------------- 27 28 #include <nitro.h> 29 30 /*---------------------------------------------------------------------------* 31 Constants 32 *---------------------------------------------------------------------------*/ 33 typedef enum OSTWLMSJumpDestination 34 { 35 OS_TWL_MACHINE_SETTING_PAGE_1 = 0, 36 OS_TWL_MACHINE_SETTING_PAGE_2 = 2, 37 OS_TWL_MACHINE_SETTING_PAGE_3 = 3, 38 OS_TWL_MACHINE_SETTING_PAGE_4 = 4, 39 OS_TWL_MACHINE_SETTING_APP_MANAGER = 5, 40 OS_TWL_MACHINE_SETTING_WIRELESS_SW = 6, 41 OS_TWL_MACHINE_SETTING_BRIGHTNESS = 7, 42 OS_TWL_MACHINE_SETTING_USER_INFO = 8, 43 OS_TWL_MACHINE_SETTING_DATE = 9, 44 OS_TWL_MACHINE_SETTING_TIME = 10, 45 OS_TWL_MACHINE_SETTING_ALARM = 11, 46 OS_TWL_MACHINE_SETTING_TP_CALIBRATION = 12, 47 OS_TWL_MACHINE_SETTING_LANGUAGE = 13, 48 OS_TWL_MACHINE_SETTING_PARENTAL_CONTROL = 14, 49 OS_TWL_MACHINE_SETTING_NETWORK_SETTING = 15, 50 OS_TWL_MACHINE_SETTING_NETWORK_EULA = 16, 51 OS_TWL_MACHINE_SETTING_NETWORK_OPTION = 17, 52 OS_TWL_MACHINE_SETTING_COUNTRY = 18, 53 OS_TWL_MACHINE_SETTING_SYSTEM_UPDATE = 19, 54 OS_TWL_MACHINE_SETTING_SYSTEM_INITIALIZE = 20, 55 OS_TWL_MACHINE_SETTING_MAX 56 } OSTWLMSJumpDestination; 57 58 /*---------------------------------------------------------------------------* 59 Function Declarations 60 *---------------------------------------------------------------------------*/ 61 /*---------------------------------------------------------------------------* 62 Name: OSi_JumpToMachineSetting 63 64 Description: Makes an application jump to the specified TWL System Settings item. 65 66 Arguments: dest: A setting 67 68 Returns: FALSE: The application jump failed for some reason 69 NOTE: TRUE will not be returned when processing is successful because a reset will occur within this function. 70 71 *---------------------------------------------------------------------------*/ 72 BOOL OSi_JumpToMachineSetting(u8 dest); 73 74 75 /*---------------------------------------------------------------------------* 76 Name: OSi_JumpToEulaDirect 77 78 Description: Makes an application jump to the TWL System Settings and brings up the User Agreement (under Internet). 79 80 81 Arguments: None. 82 83 Returns: FALSE: The application jump failed for some reason 84 NOTE: TRUE will not be returned when processing is successful because a reset will occur within this function. 85 86 *---------------------------------------------------------------------------*/ 87 BOOL OSi_JumpToEulaDirect( void ); 88 89 /*---------------------------------------------------------------------------* 90 Name: OSi_JumpToApplicationManagerDirect 91 92 Description: Makes an application jump to the TWL System Settings and brings up the Data Management screen. 93 94 95 Arguments: None. 96 97 Returns: FALSE: The application jump failed for some reason 98 NOTE: TRUE will not be returned when processing is successful because a reset will occur within this function. 99 100 *---------------------------------------------------------------------------*/ 101 BOOL OSi_JumpToApplicationManagerDirect( void ); 102 103 /*---------------------------------------------------------------------------* 104 Name: OSi_JumpToNetworkSettngDirect 105 106 Description: Makes an application jump to the TWL System Settings and brings up the Connection Settings screen (under Internet). 107 108 109 Arguments: None. 110 111 Returns: FALSE: The application jump failed for some reason 112 NOTE: TRUE will not be returned when processing is successful because a reset will occur within this function. 113 114 *---------------------------------------------------------------------------*/ 115 BOOL OSi_JumpToNetworkSettngDirect( void ); 116 117 /*---------------------------------------------------------------------------* 118 Name: OSi_JumpToCountrySettingDirect 119 120 Description: Makes an application jump to the TWL System Settings and brings up the Country screen. 121 122 NOTE: This setting does not exist on the Japanese version of the TWL system, so this will jump to the start of the System Settings. 123 124 Arguments: None. 125 126 Returns: FALSE: The application jump failed for some reason 127 NOTE: TRUE will not be returned when processing is successful because a reset will occur within this function. 128 129 *---------------------------------------------------------------------------*/ 130 BOOL OSi_JumpToCountrySettingDirect( void ); 131 132 /*---------------------------------------------------------------------------* 133 Name: OSi_JumpToSystemUpdateDirect 134 135 Description: Makes an application jump to the TWL System Settings and brings up the System Update screen. 136 137 138 Arguments: None. 139 140 Returns: FALSE: The application jump failed for some reason 141 NOTE: TRUE will not be returned when processing is successful because a reset will occur within this function. 142 143 *---------------------------------------------------------------------------*/ 144 BOOL OSi_JumpToSystemUpdateDirect( void ); 145 146 #endif /* SDK_ARM9 */ 147 #endif /* SDK_TWL */ 148 149 150 #ifdef __cplusplus 151 } /* extern "C" */ 152 #endif 153 154 /* TWL_OS_SYSTEM_H_ */ 155 #endif 156