LibMusicXML  3.18
version.h
1 /*
2  MusicXML Library
3  Copyright (C) Grame 2006-2013
4 
5  This Source Code Form is subject to the terms of the Mozilla Public
6  License, v. 2.0. If a copy of the MPL was not distributed with this
7  file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
10  research@grame.fr
11 */
12 
13 #ifndef ___version___
14 #define ___version___
15 
16 #include <string>
17 #include <list>
18 
19 #include "exports.h"
20 
21 namespace MusicXML2
22 {
23 
24 //______________________________________________________________________________
25 class EXP versionInfo
26 {
27  public:
28 
29  versionInfo (
30  std::string versionNumber,
31  std::string versionDate,
32  std::string versionDescription);
33 
34  virtual ~versionInfo ();
35 
36  void print (std::ostream& os) const;
37 
38  public:
39 
40  std::string fVersionNumber;
41  std::string fVersionDate;
42  std::string fVersionDescription;
43 };
44 
45 extern std::list<versionInfo> gVersionInfoList;
46 
47 void enlistVersion (
48  std::string versionNumber,
49  std::string versionDate,
50  std::string versionDescription);
51 
52 void printVersionsHistory (std::ostream& os);
53 
54 std::string EXP currentVersionNumber ();
55 
56 
57 }
58 
59 
60 #endif
MusicXML2::versionInfo
Definition: version.h:26