X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fflower-proto.hh;h=43ca4df6893abdbfadb00f39aa18051e8a8def5b;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=2f1e01e88e5795b313589fb75e3f28d9686cb0b9;hpb=2745cbd907f8216a4cc1fc5f488ae19efdfdbd10;p=lilypond.git diff --git a/flower/include/flower-proto.hh b/flower/include/flower-proto.hh index 2f1e01e88e..43ca4df689 100644 --- a/flower/include/flower-proto.hh +++ b/flower/include/flower-proto.hh @@ -1,67 +1,50 @@ - /* - fflower-proto.hh -- typenames in flowerlib + flower-proto.hh -- typenames in flowerlib - (c) 1996--2003 Han-Wen Nienhuys + (c) 1996--2008 Han-Wen Nienhuys */ -#ifndef FPROTO_HH -#define FPROTO_HH +#ifndef FLOWER_PROTO_HH +#define FLOWER_PROTO_HH +char const *flower_version_str0 (); -char const * flower_version_str0 (); +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; struct Long_option_init; struct Rational; -struct File_path; +class File_name; +class 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; 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; -typedef unsigned char Byte; +/* 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; - - -#endif // FPROTO_HH - +#endif /* FLOWER_PROTO_HH */