]> git.lyx.org Git - lyx.git/blob - src/lengthcommon.h
John's msg3.diff
[lyx.git] / src / lengthcommon.h
1 // -*- C++ -*-
2
3 #ifndef LENGTH_COMMON_H
4 #define LENGTH_COMMON_H
5
6 #include "LString.h"
7 #include "lyxlength.h"
8
9 /// the number of units possible
10 extern int const num_units;
11
12 /**
13  * array of unit names
14  *
15  * FIXME: I am not sure if "mu" should be possible to select (Lgb)
16  */
17 extern char const *unit_name[];
18
19 /// return the unit given a string representation such as "cm"
20 LyXLength::UNIT unitFromString(string const & data);
21
22 #endif // LENGTH_COMMON_H