andrew@0: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ andrew@0: andrew@0: /* andrew@0: This is a modified version of a source file from the andrew@0: Rosegarden MIDI and audio sequencer and notation editor. andrew@0: This file copyright 2000-2010 Richard Bown and Chris Cannam. andrew@0: andrew@0: Permission is hereby granted, free of charge, to any person andrew@0: obtaining a copy of this software and associated documentation andrew@0: files (the "Software"), to deal in the Software without andrew@0: restriction, including without limitation the rights to use, copy, andrew@0: modify, merge, publish, distribute, sublicense, and/or sell copies andrew@0: of the Software, and to permit persons to whom the Software is andrew@0: furnished to do so, subject to the following conditions: andrew@0: andrew@0: The above copyright notice and this permission notice shall be andrew@0: included in all copies or substantial portions of the Software. andrew@0: andrew@0: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, andrew@0: EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF andrew@0: MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND andrew@0: NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR andrew@0: ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF andrew@0: CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION andrew@0: WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. andrew@0: andrew@0: Except as contained in this notice, the names of the authors andrew@0: shall not be used in advertising or otherwise to promote the sale, andrew@0: use or other dealings in this Software without prior written andrew@0: authorization. andrew@0: */ andrew@0: andrew@0: #ifndef _MIDI_COMPOSITION_H_ andrew@0: #define _MIDI_COMPOSITION_H_ andrew@0: andrew@0: #include "MIDIEvent.h" andrew@0: #include andrew@0: #include andrew@0: andrew@0: typedef std::vector MIDITrack; andrew@0: typedef std::map MIDIComposition; andrew@0: andrew@0: #endif