]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/flower-proto.hh
Run grand-replace (issue 3765)
[lilypond.git] / flower / include / flower-proto.hh
index 66bd2648c17f85e8a4f1c5e63cb6ce0a8b3e7484..59613cc2799c2c65f7101e1a035d63d70706cf08 100644 (file)
@@ -1,8 +1,20 @@
-
 /*
-  fflower-proto.hh -- typenames in flowerlib
+  This file is part of LilyPond, the GNU music typesetter.
+
+  Copyright (C) 1996--2014 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--2006 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 <http://www.gnu.org/licenses/>.
 */
 
 #ifndef FLOWER_PROTO_HH
 
 char const *flower_version_str0 ();
 
-template<class T, class K> struct Assoc;
-template<class K, class V> struct Hash_table;
-template<class K, class V> struct Hash_table_iter;
-
 typedef unsigned char Byte;
-namespace std {
-  struct String_data;
-  struct String_handle;
-}
-struct String_convert;
+typedef long long I64;
+class String_convert;
 
 #include "std-string.hh"
-#include "std-vector.hh"
+
 #include "real.hh"
+using namespace std;
 
-//template<class T> struct Array;
-template<class T> struct Link_array;
-template<class T> struct Link_list;
 template<class T> struct Interval_t;
 template<class T> struct PQueue;
-
+template<class T, class A> class Matrix;
 
 typedef Interval_t<Real> Interval;
 
-struct Offset;
+class Offset;
 struct Long_option_init;
-struct Rational;
+class Rational;
 class File_name;
 class File_path;
-struct Getopt_long;
-
-struct Text_stream;
-struct Data_file;
-struct Text_db;
-struct Scalar;
+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 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;