]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontLoader.h
less string conversions as long as we stay in the frontend
[lyx.git] / src / frontends / FontLoader.h
index dc4b7458d6a53669000e7566b9179a51410fad07..497f74598873276dd7cb435e833dd5a70e142c97 100644 (file)
 #ifndef LYX_FONTLOADER_H
 #define LYX_FONTLOADER_H
 
-class LyXFont;
-
 namespace lyx {
+
+class FontInfo;
+
 namespace frontend {
 
 class FontMetrics;
@@ -32,16 +33,18 @@ public:
        virtual void update() = 0;
 
        /// Is the given font available ?
-       virtual bool available(LyXFont const & f) = 0;
+       virtual bool available(FontInfo const & f) = 0;
 
-       /// Get the Font metrics for this LyXFont
-       virtual FontMetrics const & metrics(LyXFont const & f) = 0;
+       /// Get the Font metrics for this FontInfo
+       virtual FontMetrics const & metrics(FontInfo const & f) = 0;
 };
 
+
 } // namespace frontend
-} // namespace lyx
 
-/// Implementation is in Application.C
-extern lyx::frontend::FontLoader & theFontLoader();
+/// Implementation is in Application.cpp
+extern frontend::FontLoader & theFontLoader();
+
+} // namespace lyx
 
 #endif // QFONT_LOADER_H