1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: fslow_IArchive.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: 15940 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_FSLOW_FSLOW_COMMON_H_ 17 #define NN_FSLOW_FSLOW_COMMON_H_ 18 19 #include <cstring> 20 #include <cstdlib> 21 #include <nn/util/util_NonCopyable.h> 22 23 namespace nn { namespace fslow { 24 25 template < 26 typename TPath, 27 typename TIFile, 28 typename TFileHandle, 29 typename TIDirectory, 30 typename TDirectoryHandle, 31 typename TDirectoryEntry, 32 typename TIArchive, 33 typename TArchiveHandle, 34 typename TArchives 35 > 36 struct ArchiveTypeInfo 37 { 38 typedef TPath Path; 39 typedef TIFile IFile; 40 typedef IFile* File; 41 typedef TFileHandle FileHandle; // 後で消す 42 typedef TIDirectory IDirectory; 43 typedef IDirectory* Directory; 44 typedef TDirectoryHandle DirectoryHandle; // 後で消す 45 typedef TDirectoryEntry DirectoryEntry; 46 typedef TIArchive IArchive; 47 typedef IArchive* Archive; 48 typedef TArchiveHandle ArchiveHandle; 49 typedef TArchives Archives; 50 }; 51 52 }} 53 54 #endif 55