1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: snd_GroupFile.cpp 4 5 Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. 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 $Revision: 13145 $ 14 *---------------------------------------------------------------------------*/ 15 16 #include "precompiled.h" 17 18 #include <nw/snd/snd_GroupFile.h> 19 #include <nw/snd/snd_ElementType.h> 20 21 namespace nw { 22 namespace snd { 23 namespace internal { 24 25 // 26 // GroupFile::FileHeader 27 // GetInfoBlock() const28const GroupFile::InfoBlock* GroupFile::FileHeader::GetInfoBlock() const 29 { 30 return static_cast<const InfoBlock*>( GetBlock( ElementType_GroupFile_InfoBlock ) ); 31 } GetFileBlock() const32const GroupFile::FileBlock* GroupFile::FileHeader::GetFileBlock() const 33 { 34 return static_cast<const FileBlock*>( GetBlock( ElementType_GroupFile_FileBlock ) ); 35 } 36 37 } // namespace nw::snd::internal 38 } // namespace nw::snd 39 } // namespace nw 40 41