X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FSpacing.h;h=c4254608928141b57c1f223699118cd1e39a8adb;hb=e4c9689906e05c94116feea53ff29ad00a0e5a0b;hp=6138139957f4b768fa535fb273ff7d26a3f661f2;hpb=399e7da435f0b971f309975d1cdcf934aca01cd6;p=lyx.git diff --git a/src/tex2lyx/Spacing.h b/src/tex2lyx/Spacing.h index 6138139957..c425460892 100644 --- a/src/tex2lyx/Spacing.h +++ b/src/tex2lyx/Spacing.h @@ -1,16 +1,25 @@ // -*- 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 +#ifndef TEX2LYX_SPACING_H +#define TEX2LYX_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 &) {} }; -#endif // NOT SPACING_H + +} // namespace lyx + +#endif // TEX2LYX_SPACING_H