]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lilypond-input-version.hh
2003 -> 2004
[lilypond.git] / lily / include / lilypond-input-version.hh
1 /*
2   lilypond-version.hh -- declare LilyPond_version
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1998--2004 Jan Nieuwenhuizen <janneke@gnu.org>
7
8 */
9
10 #ifndef LILYPOND_VERSION_HH
11 #define LILYPOND_VERSION_HH
12
13 #include "string.hh"
14
15 struct Lilypond_version 
16 {
17   Lilypond_version (int major, int minor, int patch);
18   Lilypond_version (String str);
19
20   String to_string () const;
21   operator int () const;
22
23   int major_;
24   int minor_;
25   int patch_;
26   String extra_patch_string_;
27 };
28
29 extern Lilypond_version oldest_version;
30
31 #endif // LILYPOND_VERSION_HH