/*---------------------------------------------------------------------------* 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 #include #else #include "test_common.h" #endif #include #include 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_ */