1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     mic_Result.h
4   Copyright (C)2010 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: 34294 $
11  *---------------------------------------------------------------------------
12 
13 
14 */
15 
16 #ifndef NN_MIC_MIC_RESULT_H_
17 #define NN_MIC_MIC_RESULT_H_
18 
19 #include <nn/Result.h>
20 
21 /* Please see man pages for details
22 
23 */
24 
25 
26 namespace nn {
27 namespace mic {
28 namespace CTR {
29 
30     /*
31 
32     */
33     enum Description
34     {
35         DESCRIPTION_MIC_SHELL_CLOSE = 1
36     };
37 
38 /* Please see man pages for details
39 
40 
41 */
42 
43 /* Please see man pages for details
44 
45 
46 
47 
48 
49 
50 
51 
52 */
53     NN_DEFINE_RESULT_CONST(
54         ResultShellClose,
55         Result::LEVEL_STATUS, Result::SUMMARY_STATUS_CHANGED, Result::MODULE_NN_MIC, DESCRIPTION_MIC_SHELL_CLOSE
56     );
57 /* Please see man pages for details
58 
59 
60 
61 */
62     NN_DEFINE_RESULT_CONST(
63         ResultNotInitialized,
64         Result::LEVEL_PERMANENT, Result::SUMMARY_NOTHING_HAPPENED, Result::MODULE_NN_MIC, Result::DESCRIPTION_NOT_INITIALIZED
65     );
66 /* Please see man pages for details
67 
68 
69 
70 */
71     NN_DEFINE_RESULT_CONST(
72         ResultAlreadyInitialized,
73         Result::LEVEL_PERMANENT, Result::SUMMARY_NOTHING_HAPPENED, Result::MODULE_NN_MIC, Result::DESCRIPTION_ALREADY_INITIALIZED
74     );
75 /* Please see man pages for details
76 
77 
78 
79 
80 
81 */
82     NN_DEFINE_RESULT_CONST(
83         ResultUsingOtherProcess,
84         Result::LEVEL_STATUS, Result::SUMMARY_INVALID_STATE, Result::MODULE_NN_MIC, Result::DESCRIPTION_ALREADY_INITIALIZED
85     );
86 /* Please see man pages for details
87 
88 
89 
90 
91 
92 */
93     NN_DEFINE_RESULT_CONST(
94         ResultBusy,
95         Result::LEVEL_STATUS, Result::SUMMARY_NOTHING_HAPPENED, Result::MODULE_NN_MIC, Result::DESCRIPTION_BUSY
96     );
97 /* Please see man pages for details
98 
99 
100 
101 */
102     NN_DEFINE_RESULT_CONST(
103         ResultMisalignedSize,
104         Result::LEVEL_USAGE, Result::SUMMARY_INVALID_ARGUMENT, Result::MODULE_NN_MIC, Result::DESCRIPTION_MISALIGNED_SIZE
105     );
106 /* Please see man pages for details
107 
108 
109 
110 */
111     NN_DEFINE_RESULT_CONST(
112         ResultMisalignedAddress,
113         Result::LEVEL_USAGE, Result::SUMMARY_INVALID_ARGUMENT, Result::MODULE_NN_MIC, Result::DESCRIPTION_MISALIGNED_ADDRESS
114     );
115 /* Please see man pages for details
116 
117 
118 
119 */
120     NN_DEFINE_RESULT_CONST(
121         ResultOutOfMemory,
122         Result::LEVEL_USAGE, Result::SUMMARY_WRONG_ARGUMENT, Result::MODULE_NN_MIC, Result::DESCRIPTION_OUT_OF_MEMORY
123     );
124 
125     NN_DEFINE_RESULT_CONST(
126         ResultOutOfRange,
127         Result::LEVEL_USAGE, Result::SUMMARY_WRONG_ARGUMENT, Result::MODULE_NN_MIC, Result::DESCRIPTION_OUT_OF_RANGE
128     );
129 /* Please see man pages for details
130 
131 
132 
133 */
134     NN_DEFINE_RESULT_CONST(
135         ResultInvalidSize,
136         Result::LEVEL_USAGE, Result::SUMMARY_INVALID_ARGUMENT, Result::MODULE_NN_MIC, Result::DESCRIPTION_INVALID_SIZE
137     );
138 /* Please see man pages for details
139 
140 
141 
142 */
143     NN_DEFINE_RESULT_CONST(
144         ResultInvalidHandle,
145         Result::LEVEL_USAGE, Result::SUMMARY_INVALID_ARGUMENT, Result::MODULE_NN_MIC, Result::DESCRIPTION_INVALID_HANDLE
146     );
147 
148 }
149 }
150 }
151 
152 #endif /* NN_MIC_MIC_RESULT_H_ */
153