]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsTypes.h
the AM_* flags patch
[lyx.git] / src / graphics / GraphicsTypes.h
index 625e1c8555e0ed72488303b4c5a6e98568d66f87..1b34eabd77d535603e4aaa1cc4de85f8fe6aea5b 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef GRAPHICSTYPES_H
 #define GRAPHICSTYPES_H
 
+#include "support/translator.h"
+
 
 namespace lyx {
 namespace graphics {
@@ -62,8 +64,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