]> git.lyx.org Git - lyx.git/blobdiff - src/lengthcommon.h
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / src / lengthcommon.h
index b32271c20d8062693c394846217816b3eb79d284..4d4acc9bb3f14b25aed5d33523afb59fc85c2459 100644 (file)
 #ifndef LENGTH_COMMON_H
 #define LENGTH_COMMON_H
 
-#include "lyxlength.h"
-#include "support/std_string.h"
+#include "Length.h"
+
+
+namespace lyx {
+
 
 /// the number of units possible
 extern int const num_units;
@@ -26,12 +29,14 @@ extern int const num_units;
  *
  * FIXME: I am not sure if "mu" should be possible to select (Lgb)
  */
-extern char const * unit_name[];
-extern char const * unit_name_gui[];
-extern char const * unit_name_ltx[];
+extern char const * const unit_name[];
+extern char const * const unit_name_gui[];
 
 /// return the unit given a string representation such as "cm"
-LyXLength::UNIT unitFromString(string const & data);
+Length::UNIT unitFromString(std::string const & data);
+
+
 
+} // namespace lyx
 
 #endif // LENGTH_COMMON_H