X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpage-spacing-result.hh;h=d75dd9861626c72a9ba172c50028a1da1c14e99a;hb=0b544cfb7332615ef809b71b57ab656741311ae1;hp=ce12f7a52285a475bb36dfda302727325f36a754;hpb=a6bd229f7fe1dc4a03478e14ccc0c0c66b225061;p=lilypond.git diff --git a/lily/include/page-spacing-result.hh b/lily/include/page-spacing-result.hh index ce12f7a522..d75dd98616 100644 --- a/lily/include/page-spacing-result.hh +++ b/lily/include/page-spacing-result.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2007--2010 Han-Wen Nienhuys + Copyright (C) 2007--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 @@ -27,13 +27,15 @@ // to represent the system count of several pages simultaneously, // it could be that one page has too many systems while another // has too few. -typedef enum { +typedef enum +{ SYSTEM_COUNT_OK = 0, SYSTEM_COUNT_TOO_MANY = 1, SYSTEM_COUNT_TOO_FEW = 2 } System_count_status; -struct Page_spacing_result { +struct Page_spacing_result +{ vector systems_per_page_; vector force_; Real penalty_; @@ -42,8 +44,7 @@ struct Page_spacing_result { Real average_force () const; vsize page_count () const; - vsize system_count () const; - void print () const; + void print () const; Page_spacing_result (); };