]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsTypes.h
Move loadableImageFormats() to the frontend.
[lyx.git] / src / graphics / GraphicsTypes.h
index dc6a05bfd611e8ae44c6b3c0c908a3f572014544..50533eb64a222d1b87d4f7d2f83edd53daec9f97 100644 (file)
@@ -15,7 +15,9 @@
 #ifndef GRAPHICSTYPES_H
 #define GRAPHICSTYPES_H
 
-#include "LString.h"
+#include "support/Translator.h"
+#include "support/strfwd.h"
+
 
 namespace lyx {
 namespace graphics {
@@ -63,8 +65,8 @@ enum DisplayType {
 };
 
 
-///
-void setDisplayTranslator();
+/// The translator between the Display enum and corresponding lyx string.
+Translator<DisplayType, std::string> const & displayTranslator();
 
 } // namespace graphics
 } // namespace lyx