1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: pl_Result.h 4 5 Copyright (C)2009-2012 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: 47250 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_PL_PL_RESULT_H_ 17 #define NN_PL_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 /* Please see man pages for details 34 35 36 */ 37 NN_DEFINE_RESULT_CONST( 38 ResultSharedFontNotFound, 39 Result::LEVEL_STATUS, Result::SUMMARY_NOT_FOUND, Result::MODULE_NN_PL, DESCRIPTION_SHAREDFONT_NOT_FOUND 40 ); 41 42 /* Please see man pages for details 43 44 45 */ 46 NN_DEFINE_RESULT_CONST( 47 ResultGameCoinDataReset, 48 Result::LEVEL_SUCCESS, 49 Result::SUMMARY_SUCCESS, 50 Result::MODULE_NN_PL, 51 DESCRIPTION_GAMECOIN_DATA_RESET 52 ); 53 54 /* Please see man pages for details 55 56 57 */ 58 NN_DEFINE_RESULT_CONST( 59 ResultLackOfGameCoin, 60 Result::LEVEL_STATUS, 61 Result::SUMMARY_INVALID_STATE, 62 Result::MODULE_NN_PL, 63 DESCRIPTION_LACK_OF_GAMECOIN 64 ); 65 66 } // end of namespace pl 67 } // end of namespace nn 68 69 #endif // #ifdef __cplusplus 70 #endif // #ifndef NN_PL_PL_RESULT_H_ 71