]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie-configuration.hh
Run grand-replace (issue 3765)
[lilypond.git] / lily / include / tie-configuration.hh
index 5586ac910a86fd963abb077a14f45802141b5bf9..62b6a15a725ffdb9526a4369f7cd1895a21b4780 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2005--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2005--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -42,22 +42,22 @@ public:
   Direction dir_;
   Real delta_y_;
   Drul_array<int> column_ranks_;
-  
+
   /* computed. */
   Interval attachment_x_;
 
-  void add_score (Real, string);
+  void add_score (Real, const string&);
   Tie_configuration ();
   void center_tie_vertically (Tie_details const &);
   Bezier get_transformed_bezier (Tie_details const &) const;
   Bezier get_untransformed_bezier (Tie_details const &) const;
-  Real height (Tie_details const&) const;
+  Real height (Tie_details const &) const;
   int column_span_length () const;
-  
+
   static int compare (Tie_configuration const &a,
-                     Tie_configuration const &b);
+                      Tie_configuration const &b);
   static Real distance (Tie_configuration const &a,
-                      Tie_configuration const &b);
+                        Tie_configuration const &b);
 };
 
 INSTANTIATE_COMPARE (Tie_configuration, Tie_configuration::compare);
@@ -72,17 +72,15 @@ class Ties_configuration : public vector<Tie_configuration>
   friend class Tie_formatting_problem;
 public:
   Ties_configuration ();
-  void add_score (Real amount, string description);
-  void add_tie_score (Real amount, int i, string description);
+  void add_score (Real amount, const string &description);
+  void add_tie_score (Real amount, int i, const string &description);
   Real score () const;
   void reset_score ();
-  string card () const; 
+  string card () const;
   string tie_card (int i) const { return tie_score_cards_[i]; }
   string complete_tie_card (vsize i) const;
-  string complete_score_card () const; 
+  string complete_score_card () const;
 };
 
 #endif /* TIE_CONFIGURATION_HH */
 
-
-