#ifndef LYX_FONTLOADER_H
#define LYX_FONTLOADER_H
-class LyXFont;
-
namespace lyx {
+
+class Font;
+
namespace frontend {
class FontMetrics;
virtual void update() = 0;
/// Is the given font available ?
- virtual bool available(LyXFont const & f) = 0;
+ virtual bool available(Font const & f) = 0;
- /// Get the Font metrics for this LyXFont
- virtual FontMetrics const & metrics(LyXFont const & f) = 0;
+ /// Get the Font metrics for this Font
+ virtual FontMetrics const & metrics(Font const & f) = 0;
};
+
} // namespace frontend
-} // namespace lyx
-extern lyx::frontend::FontLoader & theFontLoader();
+/// Implementation is in Application.cpp
+extern frontend::FontLoader & theFontLoader();
+
+} // namespace lyx
#endif // QFONT_LOADER_H