/*---------------------------------------------------------------------------* Project: NintendoWare File: externalFileApp.h Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo and/or its licensed developers and are protected by national and international copyright laws. 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. The content herein is highly confidential and should be handled accordingly. $Revision: $ *---------------------------------------------------------------------------*/ #ifndef NW_SND_DEMO_TESTWARC_APP_H_ #define NW_SND_DEMO_TESTWARC_APP_H_ #include "demolib.h" #include class ExternalFileApp : public nw::snd::demolib::AppBase { public: ExternalFileApp(); protected: virtual void OnInitialize(); virtual void OnFinalize(); virtual void OnDrawUpLCD( nw::font::TextWriter& ); virtual void OnDrawDownLCD( nw::font::TextWriter& ); virtual void OnUpdatePad( nw::demo::Pad& ); virtual void OnUpdate(); private: void InitializeSoundSystem(); void InitializeDemo(); nw::snd::RomSoundArchive m_Archive; nw::snd::SoundArchivePlayer m_ArchivePlayer; nw::snd::SoundDataManager m_DataManager; nw::snd::SoundHeap m_Heap; nw::snd::SoundHandle m_Handle; void* m_pMemoryForSoundSystem; void* m_pMemoryForInfoBlock; void* m_pMemoryForStringBlock; void* m_pMemoryForSoundDataManager; void* m_pMemoryForSoundArchivePlayer; void* m_pMemoryForSoundHeap; void* m_pMemoryForStreamBuffer; void* m_pMemoryForExternalFile; int m_LengthForExternalFile; }; #endif /* NW_SND_DEMO_TESTWARC_APP_H_ */