Planeshift
musicxmlscore.h
Go to the documentation of this file.
1 /*
2  * musicxmlscore.h, Author: Andrea Rizzi <88whacko@gmail.com>
3  *
4  * Copyright (C) 2001-2014 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation (version 2 of the License)
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */
19 
20 #ifndef MUSIC_XML_SCORE_H
21 #define MUSIC_XML_SCORE_H
22 
23 
24 //====================================================================================
25 // Crystal Space Includes
26 //====================================================================================
27 
28 //====================================================================================
29 // Project Includes
30 //====================================================================================
31 
32 //====================================================================================
33 // Local Includes
34 //====================================================================================
35 #include "scoreelements.h"
36 
37 //------------------------------------------------------------------------------------
38 // Forward Declarations
39 //------------------------------------------------------------------------------------
40 
49 {
50 public:
61  bool LoadXMLNote(const csRef<iDocumentNode> &noteNode, int divisions);
62 
67  csString ToXML();
68 };
69 
70 #include "musicxmlscore.hpp"
71 
75 #endif // MUSIC_XML_SCORE_H
Extends the class MeasureElement by adding the ability to parse MusicXML.
Definition: musicxmlscore.h:48
csString ToXML()
Convert the note to XML.
bool LoadXMLNote(const csRef< iDocumentNode > &noteNode, int divisions)
Load a note from the given <note> node.
An element of a measure with a given duration.