1 /*---------------------------------------------------------------------------*
2   Project:  NintendoWare
3   File:     snd_MmlSequenceTrack.h
4 
5   Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain proprietary
8   information of Nintendo and/or its licensed developers and are protected by
9   national and international copyright laws. They may not be disclosed to third
10   parties or copied or duplicated in any form, in whole or in part, without the
11   prior written consent of Nintendo.
12 
13   The content herein is highly confidential and should be handled accordingly.
14 
15   $Revision: 31311 $
16  *---------------------------------------------------------------------------*/
17 
18 #ifndef NW_SND_MML_SEQUENCE_TRACK_H_
19 #define NW_SND_MML_SEQUENCE_TRACK_H_
20 
21 #include <nw/snd/snd_SequenceTrack.h>
22 
23 namespace nw {
24 namespace snd {
25 namespace internal {
26 namespace driver {
27 
28 class MmlParser;
29 
30 /* ========================================================================
31         class definition
32    ======================================================================== */
33 
34 class MmlSequenceTrack : public SequenceTrack
35 {
36 public:
37     MmlSequenceTrack();
38 
SetMmlParser(const MmlParser * parser)39     void SetMmlParser( const MmlParser* parser ) { m_pParser = parser; }
GetMmlParser()40     const MmlParser* GetMmlParser() const { return m_pParser; }
41 
42 protected:
43     virtual SequenceTrack::ParseResult Parse( bool doNoteOn );
44 
45 private:
46     const MmlParser* m_pParser;
47 };
48 
49 } // namespace nw::snd::internal::driver
50 } // namespace nw::snd::internal
51 } // namespace nw::snd
52 } // namespace nw
53 
54 
55 #endif /* NW_SND_MML_SEQUENCE_TRACK_H_ */
56 
57