X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fflower-proto.hh;h=7cdd7d9bf4fe2ff88f83c81b28e53df614f85838;hb=0c61221b46addec50e2406e04af44a7d460443d4;hp=a900c33dc9eebcf4fb048632c1cc9620ca2d6519;hpb=bb36bac02a64770871780231ecc709cb18b20932;p=lilypond.git diff --git a/flower/include/flower-proto.hh b/flower/include/flower-proto.hh index a900c33dc9..7cdd7d9bf4 100644 --- a/flower/include/flower-proto.hh +++ b/flower/include/flower-proto.hh @@ -1,57 +1,63 @@ - /* - fproto.hh -- typenames in flowerlib + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 1996--2011 Han-Wen Nienhuys + + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - (c) 1996 Han-Wen Nienhuys + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ -#ifndef FPROTO_HH -#define FPROTO_HH +#ifndef FLOWER_PROTO_HH +#define FLOWER_PROTO_HH +char const *flower_version_str0 (); -char const * flower_version_sz(); +typedef unsigned char Byte; +typedef long long I64; +struct String_convert; -template struct Link_array; -template struct Array; -template struct Assoc; -template struct Hash_table; -template struct Hash_table_iter; -template struct Dictionary_iter; -template struct Dictionary; -template struct Dictionary_iter; -template struct Link_list; -template struct Interval_t; -template struct PQueue; +#include "std-string.hh" +using namespace std; #include "real.hh" +template struct Interval_t; +template struct PQueue; +template class Matrix; + typedef Interval_t Interval; -typedef Interval_t Slice; // junkme. -struct Offset; +class Offset; struct Long_option_init; -struct Rational; -struct File_path; -struct Getopt_long; -struct String_data; -struct String_handle; -struct String_convert; -struct String; - -struct Text_stream; -struct Data_file; -struct Text_db; -struct Scalar; +class Rational; +class File_name; +class File_path; +class Getopt_long; typedef unsigned char U8; typedef short I16; typedef unsigned short U16; typedef unsigned U32; typedef int I32; -typedef long long I64; - -typedef unsigned char Byte; +typedef unsigned long long U64; +/* We should really use LLONG_MAX; unfortunately, this appears not to + be defined for the gub x-compiler. +*/ +const U64 U64_MAX = (~0ULL); -#endif // FPROTO_HH +struct File_storage; +struct Mapped_file_storage; +struct Simple_file_storage; +#endif /* FLOWER_PROTO_HH */