]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Spacing.h
forgot that
[lyx.git] / src / tex2lyx / Spacing.h
index 6138139957f4b768fa535fb273ff7d26a3f661f2..c4254608928141b57c1f223699118cd1e39a8adb 100644 (file)
@@ -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 <string>
+
+
+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