/*---------------------------------------------------------------------------* Project: Horizon File: AcChanger.h Copyright 2009-2011 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 ACCHANGER_H_ #define ACCHANGER_H_ #include class AcChanger { public: AcChanger(); virtual ~AcChanger(); // バックアップメモリからデータを読み取ってacに反映します nn::Result RestoreFromBackup(); // 現在のacの値をバックアップメモリに取り込みます。 // バックアップメモリは初期化されます nn::Result ImportToBackup(); private: // バックアップメモリのフォーマットをチェックします nn::Result CheckBackupFormat(); // acデータを読み込みます nn::Result GetAcData(); // 読み込んだacデータをバックアップメモリに書き込みます nn::Result ImportAcDatatoBackup(); // acのデータをバックアップメモリから書き込みます nn::Result RestoreAcDataFromBackup(); // ネットワーク設定の確認フラグのクリア void ClearNetworkSettingCheck(); // ネットワーク設定がされていないかどうか bool IsNetworkSettingAllInvalid(); static const size_t FILE_NUM = 1; static const size_t DIR_NUM = 1; static const bool DUPLICATE = true; bool m_IsNetworkSettingValid[3]; }; #endif /* ACCHANGER_H_ */