X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpage-spacing-result.hh;h=ccba917b077a815801a1f1d9097d498aa8203814;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=216bdf8894359cacebecb2ff73cb1daa655d12aa;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/lily/include/page-spacing-result.hh b/lily/include/page-spacing-result.hh index 216bdf8894..ccba917b07 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--2011 Han-Wen Nienhuys + Copyright (C) 2007--2015 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 (); };