1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: boss_TaskIdList.h 4 5 Copyright (C)2009 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: 25917 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_BOSS_BOSS_TASK_ID_LIST_H_ 17 #define NN_BOSS_BOSS_TASK_ID_LIST_H_ 18 19 #include <nn/boss/boss_Const.h> 20 #include <nn/boss/boss_Result.h> 21 #include <nn/boss/boss_Types.h> 22 23 #ifdef __cplusplus 24 25 namespace nn { 26 namespace boss { 27 28 /*! 29 @brief タスクのIDリストを表すクラスです。登録しているタスク一覧を取得する場合などに利用します。 30 */ 31 class TaskIdList 32 { 33 public: 34 /*! 35 @brief コンストラクタです。 36 */ 37 explicit TaskIdList(void); 38 39 /*! 40 @brief デストラクタです。 41 */ 42 virtual ~TaskIdList(void); 43 44 /*! 45 @brief 一覧内のタスクID個数を返します。 46 @return 一覧の個数が返ります。<BR> 47 */ 48 u16 GetSize(void); 49 50 /*! 51 @brief 指定した位置のタスクIDを返します。 52 @param[in] index 一覧内の位置を指定します。 53 @return タスクIDが返ります。<BR> 54 @retval NULL indexが不正の場合にはNULLが返ります。 55 */ 56 char* GetTaskId(u16 index); 57 58 protected: 59 friend class AccessConfig; 60 TaskIdInfoList m_TaskId; 61 }; 62 63 } // end of namespace boss 64 } // end of namespace nn 65 66 #endif // __cplusplus 67 68 #endif /* NN_BOSS_BOSS_TASK_ID_LIST_H_ */ 69