ctr_Repair/trunk/ConsoleDataMigration/sources/ConsoleRestore/AgeChecker.h
N2614 0d8e6478a0 アカウントサルベージ時のcfgフラグ設定の判定部分を追加
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@781 385bec56-5757-e545-9c3a-d8741f4650f1
2014-04-09 08:22:11 +00:00

43 lines
1.3 KiB
C++

/*---------------------------------------------------------------------------*
Project: Horizon
File: AgeChecker.h
Copyright (C)2014 Nintendo Co., Ltd. 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 AGECHECKER_H_
#define AGECHECKER_H_
#if defined(__ARMCC_VERSION)
#include <nn.h>
#include <nn/cfg.h>
#else
#include "test_common.h"
#endif
#include <nn/cfg/CTR/cfg_CountryCode.h>
#include <nn/cfg/CTR/cfg_RegionCode.h>
namespace ConsoleRestore
{
class AgeChecker
{
public:
AgeChecker();
virtual ~AgeChecker();
bool IsPinRestrictionRequired(u32 age, nn::cfg::CTR::CfgRegionCode region, nn::cfg::CTR::CfgCountryCode country);
bool IsCoppaRequired(u32 age, nn::cfg::CTR::CfgRegionCode region, nn::cfg::CTR::CfgCountryCode country);
};
} /* namespace ConsoleRestore */
#endif /* AGECHECKER_H_ */