X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FSpacing.h;h=0fba3e527fb3147269fefcac48e5264d54ab8dd4;hb=848c89564fce9c4bfec79b915746dc6bc47abc3d;hp=6138139957f4b768fa535fb273ff7d26a3f661f2;hpb=399e7da435f0b971f309975d1cdcf934aca01cd6;p=lyx.git diff --git a/src/tex2lyx/Spacing.h b/src/tex2lyx/Spacing.h index 6138139957..0fba3e527f 100644 --- a/src/tex2lyx/Spacing.h +++ b/src/tex2lyx/Spacing.h @@ -1,17 +1,26 @@ // -*- C++ -*- /** - * \file Spacing.h + * \file tex2lyx/Spacing.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Angus Leeming + * \author Angus Leeming * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. + * + * This class is just a dummy version of that in the main LyX source tree + * to enable tex2lyx to use LyX's textclass classes and not have to + * re-invent the wheel. */ #ifndef SPACING_H #define SPACING_H +#include + + +namespace lyx { + class Spacing { public: /// @@ -22,8 +31,13 @@ public: Other, Default }; - - void set(Spacing::Space, float = 1.0) {} + /// + void set(Spacing::Space, double = 1.0) {} + /// + void set(Spacing::Space, std::string const &) {} }; + +} // namespace lyx + #endif // NOT SPACING_H