]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Spacing.h
remove lyxrc dependence from support/*
[lyx.git] / src / tex2lyx / Spacing.h
index c1a278112de3ea2574c46c4bb4b836bafdb74d40..0fba3e527fb3147269fefcac48e5264d54ab8dd4 100644 (file)
@@ -1,12 +1,12 @@
 // -*- 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
 #ifndef SPACING_H
 #define 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 &) {}
 };
 
+
+} // namespace lyx
+
 #endif // NOT SPACING_H