1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     y2r_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: 22311 $
14  *---------------------------------------------------------------------------*/
15 
16 #ifndef NN_Y2R_Y2R_RESULT_H_
17 #define NN_Y2R_Y2R_RESULT_H_
18 
19 #include <nn/Result.h>
20 
21 /*! @file
22     @brief      Y2R ライブラリの Result 群です。
23 */
24 
25 
26 namespace nn {
27 namespace y2r {
28 namespace CTR {
29 
30     /*
31         @brief Result コードの詳細
32     */
33     enum Description
34     {
35         DESCRIPTION_Y2R_IS_SLEEPING = 1
36     };
37 
38 /*!
39     @class nn::y2r::CTR::ResultIsSleeping
40     @brief @ref システムがスリープ中であるためY2Rを使用できないことを示します。
41 */
42     NN_DEFINE_RESULT_CONST(
43         ResultIsSleeping,
44         Result::LEVEL_STATUS, Result::SUMMARY_STATUS_CHANGED, Result::MODULE_NN_CAMERA, DESCRIPTION_Y2R_IS_SLEEPING
45     );
46 }
47 }
48 }
49 
50 #endif /* NN_Y2R_Y2R_RESULT_H_ */
51