X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpage-spacing-result.hh;h=ccba917b077a815801a1f1d9097d498aa8203814;hb=8e2eaf4959bec63a1128a444591a540f4f1e2937;hp=6d32bc6c2bc2752f2ac6d9552f98956b4382e5da;hpb=2bf520787e5668f22dcf0d5ab3faf74693376d6a;p=lilypond.git diff --git a/lily/include/page-spacing-result.hh b/lily/include/page-spacing-result.hh index 6d32bc6c2b..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,7 +44,7 @@ struct Page_spacing_result { Real average_force () const; vsize page_count () const; - void print () const; + void print () const; Page_spacing_result (); };