]> git.lyx.org Git - lyx.git/blobdiff - src/Format.h
Account for old versions of Pygments
[lyx.git] / src / Format.h
index e076934cb5935ec3055d37f45b09401afa5beed5..cc383c02497820d8a127b56a29afcf79c607abe9 100644 (file)
@@ -217,10 +217,13 @@ std::string flavor2format(OutputParams::FLAVOR flavor);
 // Not currently used.
 // OutputParams::FLAVOR format2flavor(std::string fmt);
 
-extern Formats formats;
-
-extern Formats system_formats;
+/// The global instance.
+/// Implementation is in LyX.cpp.
+extern Formats & theFormats();
 
+/// The global copy after reading lyxrc.defaults.
+/// Implementation is in LyX.cpp.
+extern Formats & theSystemFormats();
 
 } // namespace lyx