1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: boss_NsDataIdList.h 4 Copyright (C)2009 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: 34427 $ 11 *--------------------------------------------------------------------------- 12 13 14 */ 15 16 #ifndef NN_BOSS_BOSS_NSDATA_ID_LIST_H_ 17 #define NN_BOSS_BOSS_NSDATA_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 const u32 INVALID_SERIAL_ID = (0xffffffff); // Cannot get SERIALID because index is out of range. 29 30 31 /* Please see man pages for details 32 33 */ 34 class NsDataIdList 35 { 36 public: 37 /* Please see man pages for details 38 39 40 41 42 43 44 */ 45 explicit NsDataIdList(u32* pSerial, u16 size); 46 47 /* Please see man pages for details 48 49 */ 50 virtual ~NsDataIdList(void); 51 52 /* Please see man pages for details 53 54 */ 55 void Initialize(void); 56 57 58 /* Please see man pages for details 59 60 61 62 */ 63 u16 GetSize(void); 64 65 /* Please see man pages for details 66 67 68 69 70 */ 71 u32 GetNsDataId(u16 index); 72 73 protected: 74 friend class AccessConfig; 75 NsDataIdInfoList m_Nsdata; 76 }; 77 78 79 } // end of namespace boss 80 } // end of namespace nn 81 82 #endif // __cplusplus 83 84 #endif /* NN_BOSS_BOSS_NSDATA_ID_LIST_H_ */ 85