]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Spacing.h
forgot that
[lyx.git] / src / tex2lyx / Spacing.h
index c1a278112de3ea2574c46c4bb4b836bafdb74d40..c4254608928141b57c1f223699118cd1e39a8adb 100644 (file)
@@ -1,20 +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
  *
- * 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:
@@ -26,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