X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParameterStruct.h;h=51a8bd37feb549bbae9ad21df23b5af337d2263d;hb=cb52251ccff29d6cbfa13ab90a96be566e3f41ac;hp=294ce16f605a600f6a04f9b301a168e9b46a3972;hpb=d1182f17daa1a164d9527ccbe6500840d7ac6bc8;p=lyx.git diff --git a/src/ParameterStruct.h b/src/ParameterStruct.h index 294ce16f60..51a8bd37fe 100644 --- a/src/ParameterStruct.h +++ b/src/ParameterStruct.h @@ -7,8 +7,14 @@ #include "Spacing.h" #include "layout.h" +#ifdef __GNUG__ +#pragma interface +#endif + /// struct ParameterStruct { + /// + ParameterStruct(); /// typedef unsigned int depth_type; /// @@ -56,6 +62,19 @@ struct ParameterStruct { }; +inline +ParameterStruct::ParameterStruct() + : noindent(false), line_top(false), line_bottom(false), + pagebreak_top(false), pagebreak_bottom(false), + align(LYX_ALIGN_BLOCK), depth(0), start_of_appendix(false), + appendix(false) +#ifndef NO_PEXTRA_REALLY + , pextra_type(0), pextra_alignment(0), pextra_hfill(false), + pextra_start_minipage(false) +#endif +{} + + inline bool operator==(ParameterStruct const & ps1, ParameterStruct const & ps2)