X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fflower-proto.hh;h=77ed6eb903bb8377c8fcfdf8e51efee9b3c5ba29;hb=a6bd229f7fe1dc4a03478e14ccc0c0c66b225061;hp=8246d09fe3b93b5bba5fca71ad9e49aec79fa501;hpb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;p=lilypond.git diff --git a/flower/include/flower-proto.hh b/flower/include/flower-proto.hh index 8246d09fe3..77ed6eb903 100644 --- a/flower/include/flower-proto.hh +++ b/flower/include/flower-proto.hh @@ -1,7 +1,20 @@ /* - fflower-proto.hh -- typenames in flowerlib + This file is part of LilyPond, the GNU music typesetter. - (c) 1996--2007 Han-Wen Nienhuys + Copyright (C) 1996--2010 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. + + 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 FLOWER_PROTO_HH @@ -10,6 +23,7 @@ char const *flower_version_str0 (); typedef unsigned char Byte; +typedef long long I64; struct String_convert; #include "std-string.hh" @@ -30,24 +44,18 @@ class File_name; class File_path; struct Getopt_long; -struct Text_stream; -struct Data_file; -struct Text_db; -struct Scalar; - typedef unsigned char U8; typedef short I16; typedef unsigned short U16; typedef unsigned U32; typedef int I32; -typedef long long I64; +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); -struct Duration; -struct Duration_iterator; -struct Source_file; -struct Binary_source_file; -struct Sources; struct File_storage; struct Mapped_file_storage; struct Simple_file_storage;