]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsStyle.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormMathsStyle.C
index 5cd1925ffa0c348521331ca09062c1a6c7d11de5..48c486dae2f0915cee6d0082ee13273d29d4fff1 100644 (file)
@@ -8,25 +8,28 @@
  * \author John Levon
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  * Adapted from FormMathsSpace martin.vermeer@hut.fi
  */
 
 #include <config.h>
 
-
 #include "FormMathsStyle.h"
 #include "forms/form_maths_style.h"
 #include "ControlMath.h"
 #include "xformsBC.h"
 
-#include "bmtable.h"
-
 #include "lyx_forms.h"
+#include "bmtable.h"
 
 #include "style.xbm"
 #include "font.xbm"
 
+namespace lyx {
+namespace frontend {
+
+namespace {
+
 char const * latex_mathstyle[] = {
        "displaystyle", "textstyle", "scriptstyle", "scriptscriptstyle"
 };
@@ -36,6 +39,8 @@ kb_action latex_mathfontcmds[] = {
        LFUN_NOUN, LFUN_FRAK, LFUN_EMPH, LFUN_FREEFONT_APPLY, LFUN_DEFAULT
 };
 
+} // namespace anon
+
 
 typedef FormController<ControlMath, FormView<FD_maths_style> > base_class;
 
@@ -96,3 +101,6 @@ ButtonPolicy::SMInput FormMathsStyle::input(FL_OBJECT * ob, long data)
 
        return ButtonPolicy::SMI_VALID;
 }
+
+} // namespace frontend
+} // namespace lyx