1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: pl_Result.h 4 5 Copyright (C)2010 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev: 32255 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_PL_CTR_PL_RESULT_H_ 17 #define NN_PL_CTR_PL_RESULT_H_ 18 19 #ifdef __cplusplus 20 21 #include <nn/Result.h> 22 23 namespace nn { 24 namespace pl { 25 26 enum Description 27 { 28 DESCRIPTION_SHAREDFONT_NOT_FOUND = 2, 29 DESCRIPTION_GAMECOIN_DATA_RESET = 100, // 30 DESCRIPTION_LACK_OF_GAMECOIN = 101 // 31 }; 32 33 NN_DEFINE_RESULT_CONST( 34 ResultSharedFontNotFound, 35 Result::LEVEL_STATUS, Result::SUMMARY_NOT_FOUND, Result::MODULE_NN_PL, DESCRIPTION_SHAREDFONT_NOT_FOUND 36 ); 37 38 NN_DEFINE_RESULT_CONST( 39 ResultGameCoinDataReset, 40 Result::LEVEL_SUCCESS, 41 Result::SUMMARY_SUCCESS, 42 Result::MODULE_NN_PL, 43 DESCRIPTION_GAMECOIN_DATA_RESET 44 ); 45 46 NN_DEFINE_RESULT_CONST( 47 ResultLackOfGameCoin, 48 Result::LEVEL_STATUS, 49 Result::SUMMARY_INVALID_STATE, 50 Result::MODULE_NN_PL, 51 DESCRIPTION_LACK_OF_GAMECOIN 52 ); 53 54 } // end of namespace pl 55 } // end of namespace nn 56 57 #endif // #ifdef __cplusplus 58 #endif // #ifndef NN_PL_CTR_PL_RESULT_H_ 59