mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1950 b08762b0-b915-fc4b-9d8c-17b2551a87ff
64 lines
1.7 KiB
C
64 lines
1.7 KiB
C
/*---------------------------------------------------------------------------*
|
|
Project: TwlIPL
|
|
File: MachineSetting.h
|
|
|
|
Copyright 2007 Nintendo. All rights reserved.
|
|
|
|
These coded instructions, statements, and computer programs contain
|
|
proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
Company Ltd., and are protected by Federal copyright law. They may
|
|
not be disclosed to third parties or copied or duplicated in any form,
|
|
in whole or in part, without the prior written consent of Nintendo.
|
|
|
|
$Date:: $
|
|
$Rev$
|
|
$Author$
|
|
*---------------------------------------------------------------------------*/
|
|
|
|
#ifndef __GET_SYSMENU_VERSION_H__
|
|
#define __GET_SYSMENU_VERSION_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
#include <twl.h>
|
|
|
|
|
|
// define data----------------------------------------------------------
|
|
#define TWL_SYSMENU_VER_STR_LEN 28 // システムメニューバージョン文字列MAX bytes
|
|
#define TWL_EULA_URL_LEN 128
|
|
#define TWL_NUP_HOSTNAME_LEN 64
|
|
|
|
// システムメニューバージョン情報もろもろのリード
|
|
extern BOOL ReadSystemMenuVersionData( void *pWork, u32 workSize );
|
|
|
|
|
|
// バージョン文字列の取得
|
|
extern const u16 *GetSystemMenuVersionString( void );
|
|
|
|
|
|
// メジャーバージョンの取得
|
|
extern u16 GetSystemMenuMajorVersion( void );
|
|
|
|
|
|
// マイナーバージョンの取得
|
|
extern u16 GetSystemMenuMinorVersion( void );
|
|
|
|
// EULA URLの取得
|
|
extern const u8 *GetEULA_URL( void );
|
|
|
|
// NUP HostNameの取得
|
|
extern const u8 *GetNUP_HostName( void );
|
|
|
|
// SystemMenuVersion情報のタイムスタンプの取得
|
|
extern u32 GetSystemMenuVersionTimeStamp( void );
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __GET_SYSMENU_VERSION_H__
|