]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/xfont_loader.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / xfont_loader.C
index 9a8e9b7a264f204db38541e1f19f17e8d5c76a93..28030cb45beb3672fa84e5a29dfd6b4ab5416787 100644 (file)
@@ -14,6 +14,7 @@
 #include "FontInfo.h"
 
 #include "debug.h"
+#include "LColor.h"
 #include "lyxrc.h"     // lyxrc.font_*
 
 #include "frontends/lyx_gui.h"
 
 #include "lyx_forms.h"
 
-using namespace lyx::support;
+#include <algorithm>
 
 using std::endl;
+using std::string;
 
+namespace lyx {
+
+using support::LibFileSearch;
+using support::OnlyPath;
+using support::Systemcall;
+
+namespace frontend {
 
 // The global fontloader
 xfont_loader fontloader;
@@ -375,3 +384,6 @@ bool xfont_loader::available(LyXFont const & f)
                getFontinfo(f.family(), f.series(), f.realShape());
        return fontinfo[f.family()][f.series()][f.realShape()]->exist();
 }
+
+} // namespace frontend
+} // namespace lyx