/*---------------------------------------------------------------------------* Project: Horizon File: fs_IpcDirectory.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: 21127 $ *---------------------------------------------------------------------------*/ // // このファイルを編集しないでください。 // このファイルは自動生成されます。 // #ifndef NN_FS_FS_IPCDIRECTORY_H_ #define NN_FS_FS_IPCDIRECTORY_H_ #include #include #include #include namespace nn { namespace fs { namespace ipc { class Directory { public: enum Tag { TAG_IPC_ERROR, TAG_READ, TAG_CLOSE, TAG_IPC_END }; private: Handle m_Session; public: Directory(Handle session) : m_Session(session) {} public: nn::Result Read( s32* pNumEntriesOut, nn::fs::DirectoryEntry pEntries[], s32 numEntries ); nn::Result Close(); }; } // end of namespace ipc } // end of namespace fs } // end of namespace nn #endif // ifndef NN_FS_FS_IPCDIRECTORY_H_