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