ctr_Repair/trunk/ConsoleDataMigration/ConsoleRestore/Importer.h
N2614 a08546ff0f ファイル存在確認を分離
吸出し開始時にも無線設定ファイルの有無を確認するように

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@19 385bec56-5757-e545-9c3a-d8741f4650f1
2011-02-04 08:23:09 +00:00

72 lines
1.7 KiB
C++

/*---------------------------------------------------------------------------*
Project: Horizon
File: Importer.h
Copyright 2009 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.
$Rev$
*---------------------------------------------------------------------------*/
#ifndef IMPORTER_H_
#define IMPORTER_H_
#include <nn.h>
#include "FileName.h"
#include <nn/ac/CTR/private/ac_NetworkSetting.h>
namespace ConsoleRestore
{
bool EqualsIVSFileandIVS();
u8* ReadSerialNumber();
bool IsImportFinished();
void ImportData();
void CreateWriteFinishedFile();
void CreateUpdateFinishedFile();
void CreateConsoleInitializedFile();
void CreateRtcSyncFinishedFile();
u32 GetImportProgress();
// NANDのごみを削除する
void Cleanup();
void DeleteConsoleInitializedFile();
struct TimeZone
{
u32 hour;
u32 minutes;
bool isMinus;
NN_PADDING3;
};
bool ReadSetting();
char* GetNtpServerName();
TimeZone GetTimeZone();
struct CheckedNetworkSetting
{
nn::ac::CTR::NetworkSetting setting;
bool isValid;
NN_PADDING3;
};
CheckedNetworkSetting* GetTempNetworkSetting();
void ImportCountryLanguageData();
void ImportMcuRtc();
// TWL写真領域を初期化してから本体初期化を行う
void InitializeFileSystem();
void ClearFileReadReslt();
}
#endif /* IMPORTER_H_ */