]> git.lyx.org Git - lyx.git/blobdiff - src/lengthcommon.h
fix typo that put too many include paths for most people
[lyx.git] / src / lengthcommon.h
index 7991f2c573d0a4b543bfd74dc0e8014d113af349..71d72ea9882c36eb66f90da7762b6e1d2d88cd37 100644 (file)
@@ -1,16 +1,22 @@
 // -*- C++ -*-
 
-#ifndef LENGHT_COMMON_H
-#define LENGHT_COMMON_H
+#ifndef LENGTH_COMMON_H
+#define LENGTH_COMMON_H
 
 #include "LString.h"
 #include "lyxlength.h"
 
+/// the number of units possible
 extern int const num_units;
 
-// I am not sure if "mu" should be possible to select (Lgb)
+/**
+ * array of unit names
+ *
+ * FIXME: I am not sure if "mu" should be possible to select (Lgb)
+ */
 extern char const *unit_name[];
 
+/// return the unit given a string representation such as "cm"
 LyXLength::UNIT unitFromString(string const & data);
 
-#endif
+#endif // LENGTH_COMMON_H