1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: news_UserResult.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:$ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_NEWS_CTR_USER_NEWS_USER_RESULT_H_ 17 #define NN_NEWS_CTR_USER_NEWS_USER_RESULT_H_ 18 19 #include <nn/Result.h> 20 21 namespace nn { 22 namespace news { 23 namespace CTR { 24 namespace user { 25 26 enum Description 27 { 28 DESCRIPTION_NONE, 29 DESCRIPTION_INVALID_SUBJECT_SIZE, // 30 DESCRIPTION_INVALID_MESSAGE_SIZE, // 31 DESCRIPTION_INVALID_PICTURE_SIZE, // 32 DESCRIPTION_INVALID_PICTURE, // 33 DESCRIPTION_MAX 34 }; 35 36 /* Please see man pages for details 37 38 39 40 */ 41 NN_DEFINE_RESULT_CONST( 42 ResultInvalidSubjectSize, 43 Result::LEVEL_PERMANENT, 44 Result::SUMMARY_INVALID_ARGUMENT, 45 Result::MODULE_NN_NEWS, 46 DESCRIPTION_INVALID_SUBJECT_SIZE 47 ); 48 49 /* Please see man pages for details 50 51 52 53 */ 54 NN_DEFINE_RESULT_CONST( 55 ResultInvalidMessageSize, 56 Result::LEVEL_PERMANENT, 57 Result::SUMMARY_INVALID_ARGUMENT, 58 Result::MODULE_NN_NEWS, 59 DESCRIPTION_INVALID_MESSAGE_SIZE 60 ); 61 62 /* Please see man pages for details 63 64 65 66 */ 67 NN_DEFINE_RESULT_CONST( 68 ResultInvalidPictureSize, 69 Result::LEVEL_PERMANENT, 70 Result::SUMMARY_INVALID_ARGUMENT, 71 Result::MODULE_NN_NEWS, 72 DESCRIPTION_INVALID_PICTURE_SIZE 73 ); 74 75 /* Please see man pages for details 76 77 78 79 */ 80 NN_DEFINE_RESULT_CONST( 81 ResultInvalidPicture, 82 Result::LEVEL_PERMANENT, 83 Result::SUMMARY_INVALID_ARGUMENT, 84 Result::MODULE_NN_NEWS, 85 DESCRIPTION_INVALID_PICTURE 86 ); 87 88 } // end of namespace user 89 } // end of namespace CTR 90 } // end of namespace news 91 } // end of namespace nn 92 93 #endif /* NN_NEWS_CTR_USER_NEWS_USER_RESULT_H_ */ 94 95