]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/flower-proto.hh
33f67dbb4024815dd10cc988f0e9782104805228
[lilypond.git] / flower / include / flower-proto.hh
1 /*
2   This file is part of LilyPond, the GNU music typesetter.
3
4   Copyright (C) 1996--2012 Han-Wen Nienhuys
5
6   LilyPond is free software: you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation, either version 3 of the License, or
9   (at your option) any later version.
10
11   LilyPond is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef FLOWER_PROTO_HH
21 #define FLOWER_PROTO_HH
22
23 char const *flower_version_str0 ();
24
25 typedef unsigned char Byte;
26 typedef long long I64;
27 class String_convert;
28
29 #include "std-string.hh"
30
31 #include "real.hh"
32 using namespace std;
33
34 template<class T> struct Interval_t;
35 template<class T> struct PQueue;
36 template<class T, class A> class Matrix;
37
38 typedef Interval_t<Real> Interval;
39
40 class Offset;
41 struct Long_option_init;
42 class Rational;
43 class File_name;
44 class File_path;
45 class Getopt_long;
46
47 typedef unsigned char U8;
48 typedef short I16;
49 typedef unsigned short U16;
50 typedef unsigned U32;
51 typedef int I32;
52 typedef unsigned long long U64;
53
54 /* We should really use LLONG_MAX; unfortunately, this appears not to
55    be defined for the gub x-compiler.
56 */
57 const U64 U64_MAX = (~0ULL);
58
59 struct File_storage;
60 struct Mapped_file_storage;
61 struct Simple_file_storage;
62
63 #endif /* FLOWER_PROTO_HH */