]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontLoader.h
Move Color::color enum to ColorCode.h
[lyx.git] / src / frontends / FontLoader.h
index dc4b7458d6a53669000e7566b9179a51410fad07..478bfed1934ad0eb353954d43fe84205b3f17566 100644 (file)
 #ifndef LYX_FONTLOADER_H
 #define LYX_FONTLOADER_H
 
-class LyXFont;
-
 namespace lyx {
+
+class Font;
+
 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(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
 
-/// 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