/*---------------------------------------------------------------------------* Project: Horizon File: boss_TaskIdList.h Copyright (C)2009 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: 25917 $ *---------------------------------------------------------------------------*/ #ifndef NN_BOSS_BOSS_TASK_ID_LIST_H_ #define NN_BOSS_BOSS_TASK_ID_LIST_H_ #include #include #include #ifdef __cplusplus namespace nn { namespace boss { /*! @brief タスクのIDリストを表すクラスです。登録しているタスク一覧を取得する場合などに利用します。 */ class TaskIdList { public: /*! @brief コンストラクタです。 */ explicit TaskIdList(void); /*! @brief デストラクタです。 */ virtual ~TaskIdList(void); /*! @brief 一覧内のタスクID個数を返します。 @return 一覧の個数が返ります。
*/ u16 GetSize(void); /*! @brief 指定した位置のタスクIDを返します。 @param[in] index 一覧内の位置を指定します。 @return タスクIDが返ります。
@retval NULL indexが不正の場合にはNULLが返ります。 */ char* GetTaskId(u16 index); protected: friend class AccessConfig; TaskIdInfoList m_TaskId; }; } // end of namespace boss } // end of namespace nn #endif // __cplusplus #endif /* NN_BOSS_BOSS_TASK_ID_LIST_H_ */