1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: fnd_Result.h 4 Copyright (C)2009 Nintendo Co., Ltd. All rights reserved. 5 These coded instructions, statements, and computer programs contain 6 proprietary information of Nintendo of America Inc. and/or Nintendo 7 Company Ltd., and are protected by Federal copyright law. They may 8 not be disclosed to third parties or copied or duplicated in any form, 9 in whole or in part, without the prior written consent of Nintendo. 10 $Rev: 18508 $ 11 *--------------------------------------------------------------------------- 12 13 14 */ 15 /* Please see man pages for details 16 17 18 19 */ 20 21 #ifndef NN_FND_FND_RESULT_H_ 22 #define NN_FND_FND_RESULT_H_ 23 24 #ifdef __cplusplus 25 26 #include <nn/Result.h> 27 28 namespace nn { namespace fnd { 29 30 /* 31 32 */ 33 enum Description 34 { 35 DESCRIPTION_INVALID_NODE = 1, // 36 DESCRIPTION_ALREADY_LISTED = 2, // 37 DESCRIPTION_OBSOLETE_RESULT = 1023 // 38 }; 39 40 NN_DEFINE_RESULT_FUNC_LM(MakePermanentResult, Result::LEVEL_PERMANENT, Result::MODULE_NN_FND); 41 42 NN_DEFINE_RESULT_CONST( 43 MakeResultInvalidNode, 44 Result::LEVEL_USAGE, Result::SUMMARY_INVALID_ARGUMENT, Result::MODULE_NN_FND, nn::fnd::DESCRIPTION_INVALID_NODE 45 ); 46 47 NN_DEFINE_RESULT_CONST( 48 MakeResultAlreadyListed, 49 Result::LEVEL_USAGE, Result::SUMMARY_INVALID_ARGUMENT, Result::MODULE_NN_FND, nn::fnd::DESCRIPTION_ALREADY_LISTED 50 ); 51 52 NN_DEFINE_RESULT_CONST( 53 MakeResultInvalidAddress, 54 Result::LEVEL_USAGE, Result::SUMMARY_INVALID_ARGUMENT, Result::MODULE_NN_FND, nn::Result::DESCRIPTION_INVALID_ADDRESS 55 ); 56 57 58 }} 59 60 #endif // __cplusplus 61 62 #endif /* NN_FND_FND_RESULT_H_ */ 63