/*---------------------------------------------------------------------------* Project: Horizon File: camera_Result.h Copyright (C)2010 Nintendo Co., Ltd. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Rev: 22311 $ *---------------------------------------------------------------------------*/ #ifndef NN_CAMERA_CAMERA_RESULT_H_ #define NN_CAMERA_CAMERA_RESULT_H_ #include /*! @file @brief CAMERA ライブラリの Result 群です。 */ namespace nn { namespace camera { namespace CTR { /* @brief Result コードの詳細 */ enum Description { DESCRIPTION_CAMERA_IS_SLEEPING = 1, DESCRIPTION_CAMERA_FATAL_ERROR }; /*! @name Result 値 @{ */ /*! @class nn::camera::CTR::ResultIsSleeping @brief @ref システムがスリープ中であるためカメラを使用できないことを示します。 */ NN_DEFINE_RESULT_CONST( ResultIsSleeping, Result::LEVEL_STATUS, Result::SUMMARY_STATUS_CHANGED, Result::MODULE_NN_CAMERA, DESCRIPTION_CAMERA_IS_SLEEPING ); /*! @class nn::camera::CTR::ResultFatalError @brief @ref カメラの再起動処理に失敗したことを示します。カメラが物理的に故障している可能性があります。 */ NN_DEFINE_RESULT_CONST( ResultFatalError, Result::LEVEL_FATAL, Result::SUMMARY_INTERNAL, Result::MODULE_NN_CAMERA, DESCRIPTION_CAMERA_FATAL_ERROR ); } } } #endif /* NN_CAMERA_CAMERA_RESULT_H_ */